diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-09-29 18:31:58 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-09-29 18:31:58 (GMT) |
commit | a5be445ca9b84252b5e87708b8102de469cd23ae (patch) | |
tree | 8ba3583997d1314eca267bdcd91933143e363eb8 /Source | |
parent | bcb127d494a105ee31299934275ebb2dfd312290 (diff) | |
download | CMake-a5be445ca9b84252b5e87708b8102de469cd23ae.zip CMake-a5be445ca9b84252b5e87708b8102de469cd23ae.tar.gz CMake-a5be445ca9b84252b5e87708b8102de469cd23ae.tar.bz2 |
BUG: CTest should honor test timeouts.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CTest/cmCTestRunTest.cxx | 2 |
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); |