diff options
author | David Cole <david.cole@kitware.com> | 2009-10-28 19:50:40 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2009-10-28 19:50:40 (GMT) |
commit | 06b0f676ce0274a4211d56f008d032d6c70ad368 (patch) | |
tree | b0ac0de9190eb23a53b16da50bda0eef58ba46b8 /Tests | |
parent | b5615e9c34ae06f289e9fbeab7470b793239660a (diff) | |
download | CMake-06b0f676ce0274a4211d56f008d032d6c70ad368.zip CMake-06b0f676ce0274a4211d56f008d032d6c70ad368.tar.gz CMake-06b0f676ce0274a4211d56f008d032d6c70ad368.tar.bz2 |
Increase timeout for the nightly build tests so that the poor mac nightly build on dashmacmini2 might have enough time to complete successfully. Use CMAKE_LONG_TEST_TIMEOUT instead of a hard-coded number for the test TIMEOUT property so that a calling script may adjust it by setting a higher CTEST_TEST_TIMEOUT value.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index ef04a92..3ca2f34 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -251,7 +251,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel ") ADD_TEST(${name} /bin/sh ${_TEST_DIR}/nightly-cmake.sh) IF(COMMAND SET_TESTS_PROPERTIES AND COMMAND GET_TEST_PROPERTY) - SET_TESTS_PROPERTIES (${name} PROPERTIES TIMEOUT 10800) # 10800 seconds == 3 hours + SET_TESTS_PROPERTIES (${name} PROPERTIES TIMEOUT ${CMAKE_LONG_TEST_TIMEOUT}) ENDIF(COMMAND SET_TESTS_PROPERTIES AND COMMAND GET_TEST_PROPERTY) ENDMACRO(ADD_NIGHTLY_BUILD_TEST) IF(CMAKE_BUILD_NIGHTLY_RELEASES) |