Increase timeout of BootstrapTest to 2 hours.

So it no longer times out on s390 or armel
(patch bootstraptest_increase_timeout.diff).
This commit is contained in:
Modestas Vainius 2009-11-22 20:23:12 +02:00
parent b20572bded
commit 0e1661310d
3 changed files with 20 additions and 0 deletions

2
debian/changelog vendored
View File

@ -3,6 +3,8 @@ cmake (2.8.0-3) UNRELEASED; urgency=low
* Set HOME to current build directory when running test suite. This should * Set HOME to current build directory when running test suite. This should
fix failures of kwsys.testRegistry and FindPackageTest tests on the fix failures of kwsys.testRegistry and FindPackageTest tests on the
buildds. buildds.
* Increase timeout of BootstrapTest to 2 hours so it no longer times out
on s390 or armel (patch bootstraptest_increase_timeout.diff).
-- Modestas Vainius <modestas@vainius.eu> Sun, 22 Nov 2009 20:05:59 +0200 -- Modestas Vainius <modestas@vainius.eu> Sun, 22 Nov 2009 20:05:59 +0200

View File

@ -0,0 +1,17 @@
From: Modestas Vainius <modestas@vainius.eu>
Subject: increase time out for BootstrapTest to 2 hours
Default time out of 25 minutes (1500 seconds) is not enough on slow
and embedded systems (e.g. armel, s390).
Bug: http://public.kitware.com/Bug/view.php?id=9950
Forwarded: not-needed
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -1372,6 +1372,7 @@
--build-noclean
--build-makeprogram ${CMake_SOURCE_DIR}/bootstrap
--build-generator "${CMAKE_TEST_GENERATOR}"
+ --test-timeout 7200
--test-command
${CMake_BINARY_DIR}/Tests/BootstrapTest/Bootstrap.cmk/cmake)
LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/BootstrapTest")

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
bootstraptest_increase_timeout.diff