diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-17 19:44:32 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-17 19:44:32 (GMT) |
commit | b7a2d11f2d6dd27719282f1fcd2f69bef3513cac (patch) | |
tree | 963a292f19ee01da53cfd8725f9aaf1e9da5ba98 /Source | |
parent | 6ab962b348634c7a789c652c532d521c980ef347 (diff) | |
download | CMake-b7a2d11f2d6dd27719282f1fcd2f69bef3513cac.zip CMake-b7a2d11f2d6dd27719282f1fcd2f69bef3513cac.tar.gz CMake-b7a2d11f2d6dd27719282f1fcd2f69bef3513cac.tar.bz2 |
ENH: Pass ctest config type to subprocesses
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 91f3009..2163a87 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -807,18 +807,21 @@ IF(BUILD_TESTING) ADD_TEST(CTestTest ${CMAKE_CTEST_COMMAND} -S "${CMake_BINARY_DIR}/Tests/CTestTest/test.cmake" -V --output-log "${CMake_BINARY_DIR}/Tests/CTestTest/testOutput.log" + -C "\${CTEST_CONFIGURATION_TYPE}" ) CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestTest2/test.cmake.in" "${CMake_BINARY_DIR}/Tests/CTestTest2/test.cmake" @ONLY ESCAPE_QUOTES) ADD_TEST(CTestTest2 ${CMAKE_CTEST_COMMAND} -S "${CMake_BINARY_DIR}/Tests/CTestTest2/test.cmake" -V --output-log "${CMake_BINARY_DIR}/Tests/CTestTest2/testOutput.log" + -C "\${CTEST_CONFIGURATION_TYPE}" ) CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestTest3/test.cmake.in" "${CMake_BINARY_DIR}/Tests/CTestTest3/test.cmake" @ONLY ESCAPE_QUOTES) ADD_TEST(CTestTest3 ${CMAKE_CTEST_COMMAND} -S "${CMake_BINARY_DIR}/Tests/CTestTest3/test.cmake" -V --output-log "${CMake_BINARY_DIR}/Tests/CTestTest3/testOutput.log" + -C "\${CTEST_CONFIGURATION_TYPE}" ) ENDIF (CTEST_TEST_CTEST AND CMAKE_RUN_LONG_TESTS) |