[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.88 1.89
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Jun 24 14:48:30 EDT 2009
Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv1000/Tests
Modified Files:
CMakeLists.txt
Log Message:
BUG: Extend timeout of ExternalProject test
This test requires a long time on slower machines, so we need to extend
its timeout. It is an important test, so it does not fall under the
CMAKE_RUN_LONG_TESTS option. In the future we should try to shorten the
test by building simpler external projects.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeLists.txt,v
retrieving revision 1.88
retrieving revision 1.89
diff -C 2 -d -r1.88 -r1.89
*** CMakeLists.txt 22 Jun 2009 20:25:59 -0000 1.88
--- CMakeLists.txt 24 Jun 2009 18:48:27 -0000 1.89
***************
*** 546,549 ****
--- 546,554 ----
)
LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/ExternalProject")
+ # The ExternalProject test takes 900 seconds on some machines!
+ GET_TEST_PROPERTY(ExternalProject TIMEOUT PREVIOUS_TIMEOUT)
+ IF("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND)
+ SET_TESTS_PROPERTIES(ExternalProject PROPERTIES TIMEOUT 1000)
+ ENDIF("${PREVIOUS_TIMEOUT}" MATCHES NOTFOUND)
# do each of the tutorial steps
More information about the Cmake-commits
mailing list