summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestRunTest.cxx
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-09-29 18:31:58 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-09-29 18:31:58 (GMT)
commita5be445ca9b84252b5e87708b8102de469cd23ae (patch)
tree8ba3583997d1314eca267bdcd91933143e363eb8 /Source/CTest/cmCTestRunTest.cxx
parentbcb127d494a105ee31299934275ebb2dfd312290 (diff)
downloadCMake-a5be445ca9b84252b5e87708b8102de469cd23ae.zip
CMake-a5be445ca9b84252b5e87708b8102de469cd23ae.tar.gz
CMake-a5be445ca9b84252b5e87708b8102de469cd23ae.tar.bz2
BUG: CTest should honor test timeouts.
Diffstat (limited to 'Source/CTest/cmCTestRunTest.cxx')
-rw-r--r--Source/CTest/cmCTestRunTest.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx
index 32c3ef8..ffc257a 100644
--- a/Source/CTest/cmCTestRunTest.cxx
+++ b/Source/CTest/cmCTestRunTest.cxx
@@ -435,6 +435,8 @@ bool cmCTestRunTest::CreateProcess(double testTimeOut,
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, this->Index << ": "
<< "Test timeout computed to be: " << timeout << "\n");
+ this->TestProcess->SetTimeout(timeout);
+
if (this->ModifyEnv)
{
this->OrigEnv = cmSystemTools::AppendEnv(environment);