summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2014-06-25 15:44:09 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2014-06-25 15:44:09 (GMT)
commita73373a8c8ca261398b605572c6e23936496056d (patch)
tree3cc4bfcc4275015c252fc1165d536c93ead0188d
parent4c27c51f25aa8b01036a29f88099b6aa304daa13 (diff)
downloadCMake-a73373a8c8ca261398b605572c6e23936496056d.zip
CMake-a73373a8c8ca261398b605572c6e23936496056d.tar.gz
CMake-a73373a8c8ca261398b605572c6e23936496056d.tar.bz2
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
-rw-r--r--Tests/CTestTestTimeout/CMakeLists.txt7
1 files changed, 2 insertions, 5 deletions
diff --git a/Tests/CTestTestTimeout/CMakeLists.txt b/Tests/CTestTestTimeout/CMakeLists.txt
index 2e3bd6a..c6cbc47 100644
--- a/Tests/CTestTestTimeout/CMakeLists.txt
+++ b/Tests/CTestTestTimeout/CMakeLists.txt
@@ -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})