Merge topic 'CTestTestTimeout-increase'

a73373a8 CTestTestTimeout: increase the timeout for all platforms
This commit is contained in:
Brad King 2014-06-27 09:42:48 -04:00 committed by CMake Topic Stage
commit 798d7626a0
1 changed files with 2 additions and 5 deletions

View File

@ -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})