diff options
Diffstat (limited to 'Source/CTest/cmCTestMemCheckHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestMemCheckHandler.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestMemCheckHandler.cxx b/Source/CTest/cmCTestMemCheckHandler.cxx index 4d4c527..76ed378 100644 --- a/Source/CTest/cmCTestMemCheckHandler.cxx +++ b/Source/CTest/cmCTestMemCheckHandler.cxx @@ -88,6 +88,8 @@ static const char* cmCTestMemCheckResultLongStrings[] = { cmCTestMemCheckHandler::cmCTestMemCheckHandler() { this->MemCheck = true; + this->CustomMaximumPassedTestOutputSize = 0; + this->CustomMaximumFailedTestOutputSize = 0; } //---------------------------------------------------------------------- @@ -224,6 +226,8 @@ void cmCTestMemCheckHandler::GenerateDartOutput(std::ostream& os) { continue; } + this->CleanTestOutput(memcheckstr, + static_cast<size_t>(this->CustomMaximumFailedTestOutputSize)); os << "\t<Test Status=\""; if ( result->Status == cmCTestMemCheckHandler::COMPLETED ) { |