ENH: Do bootstrap test on all unix systems
This commit is contained in:
parent
89d35bc8fb
commit
7481c895c4
@ -634,6 +634,8 @@ IF(BUILD_TESTING)
|
|||||||
ADD_TEST(CTestTest ${CMAKE_CTEST_COMMAND}
|
ADD_TEST(CTestTest ${CMAKE_CTEST_COMMAND}
|
||||||
-S "${CMake_BINARY_DIR}/Tests/CTestTest/test.cmake" -V
|
-S "${CMake_BINARY_DIR}/Tests/CTestTest/test.cmake" -V
|
||||||
)
|
)
|
||||||
|
ENDIF (CTEST_TEST_CTEST)
|
||||||
|
|
||||||
IF(UNIX)
|
IF(UNIX)
|
||||||
ADD_TEST(BootstrapTest ${CMAKE_CTEST_COMMAND}
|
ADD_TEST(BootstrapTest ${CMAKE_CTEST_COMMAND}
|
||||||
--build-and-test
|
--build-and-test
|
||||||
@ -642,12 +644,9 @@ IF(BUILD_TESTING)
|
|||||||
--build-nocmake
|
--build-nocmake
|
||||||
--build-makeprogram ${CMake_SOURCE_DIR}/bootstrap
|
--build-makeprogram ${CMake_SOURCE_DIR}/bootstrap
|
||||||
--test-command ${CMake_BINARY_DIR}/Tests/BootstrapTest/Bootstrap.cmk/cmake --version)
|
--test-command ${CMake_BINARY_DIR}/Tests/BootstrapTest/Bootstrap.cmk/cmake --version)
|
||||||
|
|
||||||
ENDIF(UNIX)
|
ENDIF(UNIX)
|
||||||
|
|
||||||
|
|
||||||
ENDIF (CTEST_TEST_CTEST)
|
|
||||||
|
|
||||||
IF(CMAKE_GENERATOR MATCHES "Makefiles")
|
IF(CMAKE_GENERATOR MATCHES "Makefiles")
|
||||||
# see if we can find a fortran compiler on the machine
|
# see if we can find a fortran compiler on the machine
|
||||||
# if so, add the fortran test and see if it works.
|
# if so, add the fortran test and see if it works.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user