Merge topic 'CTestTestTimeout-increase'
a73373a8
CTestTestTimeout: increase the timeout for all platforms
This commit is contained in:
commit
798d7626a0
|
@ -3,11 +3,8 @@ project(CTestTestTimeout)
|
||||||
include(CTest)
|
include(CTest)
|
||||||
|
|
||||||
if(NOT TIMEOUT)
|
if(NOT TIMEOUT)
|
||||||
if(CYGWIN)
|
# Give the process time to load and start running.
|
||||||
set(TIMEOUT 4) # Cygwin CMake sometimes takes > 1 second to load!
|
set(TIMEOUT 4)
|
||||||
else()
|
|
||||||
set(TIMEOUT 1)
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_definitions(-DTIMEOUT=${TIMEOUT})
|
add_definitions(-DTIMEOUT=${TIMEOUT})
|
||||||
|
|
Loading…
Reference in New Issue