[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepimlibs
From: Christophe Giboudeaux <cgiboudeaux () gmail ! com>
Date: 2010-09-06 13:56:58
Message-ID: 20100906140044.F0FB0AC887 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1172126 by cgiboudeaux:
Also enforce the test timeout in kdepimlibs.
M +9 -2 CMakeLists.txt
--- trunk/KDE/kdepimlibs/CMakeLists.txt #1172125:1172126
@@ -44,8 +44,15 @@
############### Load the CTest options ###############
-# Set a timeout value of 5 minutes per test
-set(DART_TESTING_TIMEOUT 300)
+# Setting DART_TESTING_TIMEOUT has no effect on the tests timeout,
+# the timeout value must be changed directly in DartConfiguration.tcl
+set(_DartConfigFile "${CMAKE_BINARY_DIR}/DartConfiguration.tcl")
+if(EXISTS ${_DartConfigFile})
+ set(DartTestingTimeout "120")
+ file(READ ${_DartConfigFile} _DartConfigFile_content)
+ string(REGEX REPLACE "TimeOut: 1500" "TimeOut: ${DartTestingTimeout}" \
_DartConfigFile_content ${_DartConfigFile_content}) + file(WRITE ${_DartConfigFile} \
${_DartConfigFile_content}) +endif()
# CTestCustom.cmake has to be in the CTEST_BINARY_DIR.
# in the KDE build system, this is the same as CMAKE_BINARY_DIR.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic