diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-02-18 18:32:51 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-02-18 18:32:51 (GMT) |
commit | 785b0dc012a2623e83886066fd4929b4e361cea9 (patch) | |
tree | b996432683a83a1716dcc722d12c87fab97d332d /Source/CMakeLists.txt | |
parent | b5ca101fd76554df01d60f210677df85e19af65e (diff) | |
download | CMake-785b0dc012a2623e83886066fd4929b4e361cea9.zip CMake-785b0dc012a2623e83886066fd4929b4e361cea9.tar.gz CMake-785b0dc012a2623e83886066fd4929b4e361cea9.tar.bz2 |
ENH: all tests are passing for XCode
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 1a8804f..0ec5fd6 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -708,7 +708,10 @@ IF(BUILD_TESTING) ) ENDIF (CTEST_TEST_CTEST AND CMAKE_RUN_LONG_TESTS) - IF(UNIX AND CMAKE_RUN_LONG_TESTS) + IF("${CMAKE_GENERATOR}" MATCHES XCode) + SET(CMAKE_SKIP_BOOTSTRAP_TEST 1) + ENDIF("${CMAKE_GENERATOR}" MATCHES XCode) + IF(UNIX AND CMAKE_RUN_LONG_TESTS AND NOT CMAKE_SKIP_BOOTSTRAP_TEST) ADD_TEST(BootstrapTest ${CMAKE_CTEST_COMMAND} --build-and-test ${CMake_SOURCE_DIR} @@ -717,7 +720,7 @@ IF(BUILD_TESTING) --build-noclean --build-makeprogram ${CMake_SOURCE_DIR}/bootstrap --test-command ${CMake_BINARY_DIR}/Tests/BootstrapTest/Bootstrap.cmk/cmake) - ENDIF(UNIX AND CMAKE_RUN_LONG_TESTS) + ENDIF(UNIX AND CMAKE_RUN_LONG_TESTS AND NOT CMAKE_SKIP_BOOTSTRAP_TEST) IF(CMAKE_GENERATOR MATCHES "Makefiles") # see if we can find a fortran compiler on the machine |