ENH: Do bootstrap test on all unix systems

This commit is contained in:
Andy Cedilnik 2004-10-18 15:05:06 -04:00
parent 89d35bc8fb
commit 7481c895c4
1 changed files with 3 additions and 4 deletions

View File

@ -634,6 +634,8 @@ IF(BUILD_TESTING)
ADD_TEST(CTestTest ${CMAKE_CTEST_COMMAND}
-S "${CMake_BINARY_DIR}/Tests/CTestTest/test.cmake" -V
)
ENDIF (CTEST_TEST_CTEST)
IF(UNIX)
ADD_TEST(BootstrapTest ${CMAKE_CTEST_COMMAND}
--build-and-test
@ -642,12 +644,9 @@ IF(BUILD_TESTING)
--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)
IF(CMAKE_GENERATOR MATCHES "Makefiles")
# see if we can find a fortran compiler on the machine
# if so, add the fortran test and see if it works.