mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 03:59:58 +00:00
Longer CTestTestTimeout default time on Cygwin
The commit "Make CTestTestTimeout time configurable" added a CMake cache variable CTestTestTimeout_TIME to configure the length of the timeout used by the inner CTestTestTimeout test. The reason was to allow users on slow machines to give this test some extra time without extending the timeout for everyone. However, Cygwin CMake seems to load slowly enough that it is worth a longer default timeout for that platform.
This commit is contained in:
parent
3312e3d710
commit
5cf77136cb
@ -3,7 +3,11 @@ PROJECT(CTestTestTimeout)
|
||||
INCLUDE(CTest)
|
||||
|
||||
IF(NOT TIMEOUT)
|
||||
SET(TIMEOUT 1)
|
||||
IF(CYGWIN)
|
||||
SET(TIMEOUT 4) # Cygwin CMake sometimes takes > 1 second to load!
|
||||
ELSE()
|
||||
SET(TIMEOUT 1)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
ADD_DEFINITIONS(-DTIMEOUT=${TIMEOUT})
|
||||
|
Loading…
Reference in New Issue
Block a user