ENH: fix bug with valgrind output being truncated
This commit is contained in:
parent
7e9eed0230
commit
ca31d33151
|
@ -784,15 +784,20 @@ void cmCTestTestHandler::ProcessOneTest(cmCTestTestProperties *it,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( cres.Status == cmCTestTestHandler::COMPLETED )
|
// 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)
|
||||||
{
|
{
|
||||||
this->CleanTestOutput(output, static_cast<size_t>
|
if ( cres.Status == cmCTestTestHandler::COMPLETED )
|
||||||
(this->CustomMaximumPassedTestOutputSize));
|
{
|
||||||
}
|
this->CleanTestOutput(output, static_cast<size_t>
|
||||||
else
|
(this->CustomMaximumPassedTestOutputSize));
|
||||||
{
|
}
|
||||||
this->CleanTestOutput(output, static_cast<size_t>
|
else
|
||||||
(this->CustomMaximumFailedTestOutputSize));
|
{
|
||||||
|
this->CleanTestOutput(output, static_cast<size_t>
|
||||||
|
(this->CustomMaximumFailedTestOutputSize));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cres.Output = output;
|
cres.Output = output;
|
||||||
|
|
Loading…
Reference in New Issue