diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-18 16:33:25 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-18 16:33:25 (GMT) |
commit | e60b8b87ebd1120d64e016c9192467f9258391c5 (patch) | |
tree | 3d34ac67af629b00161a614cba85df374969e2a3 | |
parent | 6abbc7b1ff4717f42ca374a9ad793e3d25f6956c (diff) | |
download | CMake-e60b8b87ebd1120d64e016c9192467f9258391c5.zip CMake-e60b8b87ebd1120d64e016c9192467f9258391c5.tar.gz CMake-e60b8b87ebd1120d64e016c9192467f9258391c5.tar.bz2 |
ENH: Add bootstrap test
-rw-r--r-- | Source/CMakeLists.txt | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index c05dac3..43ab48e 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -634,6 +634,17 @@ IF(BUILD_TESTING) ADD_TEST(CTestTest ${CMAKE_CTEST_COMMAND} -S "${CMake_BINARY_DIR}/Tests/CTestTest/test.cmake" -V ) + IF(UNIX) + ADD_TEST(BootstrapTest ${CMAKE_CTEST_COMMAND} + --build-and-test + ${CMake_SOURCE_DIR} + ${CMake_BINARY_DIR}/Tests/BootstrapTest + --build-nocmake + --build-makeprogram ${CMake_SOURCE_DIR}/bootstrap + --test-command ${CMake_BINARY_DIR}/Tests/BootstrapTest/Bootstrap.cmk/cmake --version) + + ENDIF(UNIX) + ENDIF (CTEST_TEST_CTEST) @@ -698,8 +709,6 @@ IF(BUILD_TESTING) --build-options -DCMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE:FILEPATH=${CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE} --test-command UseWX ) - - ENDIF (CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE OR WXWINDOWS_INCLUDE_DIR) IF(UNIX) |