summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestRunTest.cxx
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2011-04-29 16:12:26 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2011-04-29 16:12:26 (GMT)
commit8024c53389df3ef404725e3d0c5d91a8f7eafbfc (patch)
tree0ae98649a8e81710dde2ba3ae8c485f4597f3c68 /Source/CTest/cmCTestRunTest.cxx
parent14f43c3e496b46889db9c1e30e5a2d7ea73a6cb7 (diff)
downloadCMake-8024c53389df3ef404725e3d0c5d91a8f7eafbfc.zip
CMake-8024c53389df3ef404725e3d0c5d91a8f7eafbfc.tar.gz
CMake-8024c53389df3ef404725e3d0c5d91a8f7eafbfc.tar.bz2
Dynamic analysis test output should not be compressed.
Diffstat (limited to 'Source/CTest/cmCTestRunTest.cxx')
-rw-r--r--Source/CTest/cmCTestRunTest.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx
index 42a4cff..e9cefae 100644
--- a/Source/CTest/cmCTestRunTest.cxx
+++ b/Source/CTest/cmCTestRunTest.cxx
@@ -135,7 +135,7 @@ void cmCTestRunTest::CompressOutput()
//---------------------------------------------------------
bool cmCTestRunTest::EndTest(size_t completed, size_t total, bool started)
{
- if (this->CTest->ShouldCompressTestOutput())
+ if (!this->TestHandler->MemCheck && this->CTest->ShouldCompressTestOutput())
{
this->CompressOutput();
}
@@ -332,7 +332,8 @@ bool cmCTestRunTest::EndTest(size_t completed, size_t total, bool started)
// record the results in TestResult
if(started)
{
- bool compress = this->CompressionRatio < 1 &&
+ bool compress = !this->TestHandler->MemCheck &&
+ this->CompressionRatio < 1 &&
this->CTest->ShouldCompressTestOutput();
this->TestResult.Output = compress ? this->CompressedOutput
: this->ProcessOutput;