[cmake-commits] martink committed CMakeLists.txt 1.326 1.327
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Feb 5 11:13:20 EST 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv21942
Modified Files:
CMakeLists.txt
Log Message:
ENH: add more time to bootstrap test
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CMakeLists.txt,v
retrieving revision 1.326
retrieving revision 1.327
diff -u -d -r1.326 -r1.327
--- CMakeLists.txt 2 Feb 2007 19:40:24 -0000 1.326
+++ CMakeLists.txt 5 Feb 2007 16:13:18 -0000 1.327
@@ -1109,6 +1109,8 @@
SET(CMAKE_SKIP_BOOTSTRAP_TEST 1)
ENDIF(EXISTS "${CMAKE_BINARY_DIR}/CMakeLists.txt")
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}
@@ -1117,7 +1119,17 @@
--build-noclean
--build-makeprogram ${CMake_SOURCE_DIR}/bootstrap
--build-generator "${CMAKE_TEST_GENERATOR}"
- --test-command ${CMake_BINARY_DIR}/Tests/BootstrapTest/Bootstrap.cmk/cmake)
+ --test-command
+ ${CMake_BINARY_DIR}/Tests/BootstrapTest/Bootstrap.cmk/cmake)
+
+ # provide more time for the bootstrap test
+ IF (COMMAND GET_TEST_PROPERTY)
+ GET_TEST_PROPERTY(BootstrapTest TIMEOUT PREVIOUS_TIMEOUT)
+ IF ("${PREVIOUS_TIMEOUT}" MATCHES NOT_FOUND)
+ SET_TESTS_PROPERTIES ( BootstrapTest PROPERTIES TIMEOUT 1500)
+ ENDIF ("${PREVIOUS_TIMEOUT}" MATCHES NOT_FOUND)
+ ENDIF (COMMAND GET_TEST_PROPERTY)
+
ENDIF(UNIX AND CMAKE_RUN_LONG_TESTS AND NOT CMAKE_SKIP_BOOTSTRAP_TEST)
# fortran does not work for IDE builds because
More information about the Cmake-commits
mailing list