summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-09-30 22:45:55 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-09-30 22:45:55 (GMT)
commit6e7ba70aadee55601f7b07be6056dd172dc807b7 (patch)
tree904f81f2c81dde4f55dc06f08edd861d4958f971 /Source/CMakeLists.txt
parent74b07fcf9689cb9c0407784f09048ad17acd85fe (diff)
downloadCMake-6e7ba70aadee55601f7b07be6056dd172dc807b7.zip
CMake-6e7ba70aadee55601f7b07be6056dd172dc807b7.tar.gz
CMake-6e7ba70aadee55601f7b07be6056dd172dc807b7.tar.bz2
ENH: Cleanup CTest test
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt11
1 files changed, 3 insertions, 8 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 5e098c7..fdfe6bf 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -624,14 +624,9 @@ IF(BUILD_TESTING)
ENDIF (APPLE)
IF (CTEST_TEST_CTEST)
- ADD_TEST(CTestTest ${CMAKE_CTEST_COMMAND} --force-new-ctest-process
- --build-and-test
- "${CMake_SOURCE_DIR}/Tests/CTestTest"
- "${CMake_BINARY_DIR}/Tests/CTestTest"
- --build-generator ${CMAKE_GENERATOR}
- --build-makeprogram ${MAKEPROGRAM}
- --build-project CTestTest
- --test-command ${CMAKE_CTEST_COMMAND} --force-new-ctest-process
+ CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestTest/test.cmake.in"
+ "${CMake_BINARY_DIR}/Tests/CTestTest/test.cmake" @ONLY)
+ ADD_TEST(CTestTest ${CMAKE_CTEST_COMMAND}
-S "${CMake_BINARY_DIR}/Tests/CTestTest/test.cmake" -V
)