mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 22:10:32 +00:00
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.
This commit is contained in:
parent
b5615e9c34
commit
06b0f676ce
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user