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