summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmCTest.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index cb6932b..31bc8ff 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -2099,6 +2099,7 @@ std::string cmCTest::GetTestModelString()
}
return "Experimental";
}
+
bool cmCTest::RunMakeCommand(const char* command, std::string* output,
int* retVal, const char* dir, bool verbose, int timeout, std::ofstream& ofs)
{
@@ -2159,6 +2160,7 @@ bool cmCTest::RunMakeCommand(const char* command, std::string* output,
if ( ofs )
{
ofs.write(data, length);
+ ofs.flush();
}
}
std::cout << " Size of output: ";