diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 1b578a904..2e2139e47 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(); }