Tests: CPack move tests to separate dir

For greater transparency tests
are moved to a subfolder with
each test having its own dir.
This commit is contained in:
Domen Vrankar
2016-11-26 18:57:46 +01:00
parent 70b52a7113
commit 53a69c7dd4
20 changed files with 1 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ project(${RunCMake_TEST} CXX)
# set default test name (can be overwritten in test.cmake or specifics.cmake)
string(TOLOWER "${RunCMake_TEST_FILE_PREFIX}" CPACK_PACKAGE_NAME)
include(${RunCMake_TEST_FILE_PREFIX}.cmake)
include(tests/${RunCMake_TEST_FILE_PREFIX}/test.cmake)
# include test generator specifics
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${GENERATOR_TYPE}/${RunCMake_TEST_FILE_PREFIX}-specifics.cmake")