mirror of
https://github.com/reactos/CMake.git
synced 2024-12-01 07:20:22 +00:00
CTestTestTimeout: increase the timeout for all platforms
Slow or busy machines not running Cygwin may also fail the 1 second timeout: CMake Error at CTestTestTimeout/test.cmake:38 (message): Log does not exist: .../Tests/CTestTestTimeout/timeout.log http://open.cdash.org/testDetails.php?test=264045338&build=3382733 http://open.cdash.org/testDetails.php?test=263904235&build=3382056
This commit is contained in:
parent
4c27c51f25
commit
a73373a8c8
@ -3,11 +3,8 @@ project(CTestTestTimeout)
|
||||
include(CTest)
|
||||
|
||||
if(NOT TIMEOUT)
|
||||
if(CYGWIN)
|
||||
set(TIMEOUT 4) # Cygwin CMake sometimes takes > 1 second to load!
|
||||
else()
|
||||
set(TIMEOUT 1)
|
||||
endif()
|
||||
# Give the process time to load and start running.
|
||||
set(TIMEOUT 4)
|
||||
endif()
|
||||
|
||||
add_definitions(-DTIMEOUT=${TIMEOUT})
|
||||
|
Loading…
Reference in New Issue
Block a user