[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.4 1.5

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Dec 21 10:00:53 EST 2009


Update of /cvsroot/CMake/CMake/Tests/CTestTestTimeout
In directory public:/mounts/ram/cvs-serv3186/Tests/CTestTestTimeout

Modified Files:
	CMakeLists.txt 
Log Message:
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.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CTestTestTimeout/CMakeLists.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -C 2 -d -r1.4 -r1.5
*** CMakeLists.txt	2 Dec 2009 14:31:48 -0000	1.4
--- CMakeLists.txt	21 Dec 2009 15:00:51 -0000	1.5
***************
*** 4,8 ****
  
  IF(NOT TIMEOUT)
!   SET(TIMEOUT 1)
  ENDIF()
  
--- 4,12 ----
  
  IF(NOT TIMEOUT)
!   IF(CYGWIN)
!     SET(TIMEOUT 4) # Cygwin CMake sometimes takes > 1 second to load!
!   ELSE()
!     SET(TIMEOUT 1)
!   ENDIF()
  ENDIF()
  



More information about the Cmake-commits mailing list