BUG: CTest should honor test timeouts.
This commit is contained in:
parent
bcb127d494
commit
a5be445ca9
|
@ -435,6 +435,8 @@ bool cmCTestRunTest::CreateProcess(double testTimeOut,
|
||||||
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, this->Index << ": "
|
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, this->Index << ": "
|
||||||
<< "Test timeout computed to be: " << timeout << "\n");
|
<< "Test timeout computed to be: " << timeout << "\n");
|
||||||
|
|
||||||
|
this->TestProcess->SetTimeout(timeout);
|
||||||
|
|
||||||
if (this->ModifyEnv)
|
if (this->ModifyEnv)
|
||||||
{
|
{
|
||||||
this->OrigEnv = cmSystemTools::AppendEnv(environment);
|
this->OrigEnv = cmSystemTools::AppendEnv(environment);
|
||||||
|
|
Loading…
Reference in New Issue