1
0
Fork 0

TestSuite: Improved output formatting on MS Windows.

For some reason, this OS needs a few more newlines output than other OSes.
This commit is contained in:
Edward d'Auvergne 2019-09-26 12:28:31 +02:00
parent 0bb968543b
commit 3e834ebb65

View file

@ -46,6 +46,9 @@ void fgCompilerOutputter::printFailureDetail(CppUnit::TestFailure *failure)
vector<TestIOCapt>::iterator test_iter;
// Initial separator.
#ifdef _WIN32
fg_stream << endl;
#endif
fg_stream << string(WIDTH_DIVIDER, '=') << endl;
// Test info.
@ -128,6 +131,9 @@ void fgCompilerOutputter::printIOStreamMessages(string heading, string messages,
void fgCompilerOutputter::printSuiteStats()
{
// A divider.
#ifdef _WIN32
fg_stream << endl;
#endif
fg_stream << string(WIDTH_DIVIDER, '-') << endl;
// Timing and test count line.