summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmCTest.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 1b578a9..2e2139e 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -349,7 +349,9 @@ cmCTest::cmCTest()
{
it->second->SetCTestInstance(this);
}
-
+ // call this so that the information is cached up front
+ // and not the first time EndTest is called.
+ this->ShouldCompressTestOutput();
// Make sure we can capture the build tool output.
cmSystemTools::EnableVSConsoleOutput();
}