ENH: fix bug with valgrind output being truncated

This commit is contained in:
Bill Hoffman 2007-07-25 16:37:50 -04:00
parent 7e9eed0230
commit ca31d33151
1 changed files with 13 additions and 8 deletions

View File

@ -784,6 +784,10 @@ void cmCTestTestHandler::ProcessOneTest(cmCTestTestProperties *it,
}
}
// if this is doing MemCheck then all the output needs to be put into
// Output since that it what is parsed to by cmCTestMemCheckHandler
if(!this->MemCheck)
{
if ( cres.Status == cmCTestTestHandler::COMPLETED )
{
this->CleanTestOutput(output, static_cast<size_t>
@ -794,6 +798,7 @@ void cmCTestTestHandler::ProcessOneTest(cmCTestTestProperties *it,
this->CleanTestOutput(output, static_cast<size_t>
(this->CustomMaximumFailedTestOutputSize));
}
}
cres.Output = output;
cres.ReturnValue = retVal;