Commit 0c6d0285 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

ENH: Flush the output file, to make more nice output for tail -f

parent a36bd0b2
......@@ -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: ";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment