Skip to content

Commit

Permalink
Make sure all test templates copied as well
Browse files Browse the repository at this point in the history
  • Loading branch information
kenrowland committed Jan 10, 2019
1 parent 22b2501 commit 50b6cf8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
11 changes: 6 additions & 5 deletions testing/unittests/configmgr/schema/environments/CMakeLists.txt
Expand Up @@ -15,8 +15,9 @@
# limitations under the License.
################################################################################


FILE(GLOB envFiles "${CMAKE_CURRENT_SOURCE_DIR}/*.xml")
FOREACH( envFile ${envFiles} )
Install ( FILES ${envFile} DESTINATION testing/configmgr/schema/environments COMPONENT Runtime)
ENDFOREACH ()
if (USE_CPPUNIT)
FILE(GLOB envFiles "${CMAKE_CURRENT_SOURCE_DIR}/*.xml")
FOREACH( envFile ${envFiles} )
Install ( FILES ${envFile} DESTINATION testing/configmgr/schema/environments COMPONENT Runtime)
ENDFOREACH ()
endif()
11 changes: 4 additions & 7 deletions testing/unittests/configmgr/templates/CMakeLists.txt
Expand Up @@ -16,11 +16,8 @@
################################################################################

if (USE_CPPUNIT)
FOREACH( iFILES
${CMAKE_CURRENT_SOURCE_DIR}/ParseFromFileTest.json
${CMAKE_CURRENT_SOURCE_DIR}/OperationsTest1.json
${CMAKE_CURRENT_SOURCE_DIR}/SubstitutionTest-1.json
)
Install ( FILES ${iFILES} DESTINATION testing/configmgr/templates COMPONENT Runtime)
ENDFOREACH ( iFILES )
FILE(GLOB tmpltFiles "${CMAKE_CURRENT_SOURCE_DIR}/*.json")
FOREACH( tmpltFile ${tmpltFiles} )
Install ( FILES ${tmpltFile} DESTINATION testing/configmgr/templates COMPONENT Runtime)
ENDFOREACH ()
endif()

0 comments on commit 50b6cf8

Please sign in to comment.