BUG: CTest should honor test timeouts.

This commit is contained in:
Zach Mullen 2009-09-29 14:31:58 -04:00
parent bcb127d494
commit a5be445ca9
1 changed files with 2 additions and 0 deletions

View File

@ -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);