From 6d2bacf9ec9ebb861f8630afb7cc647e7be525a6 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 7 Jan 2016 18:17:31 -0500 Subject: [PATCH] Flus cout buffer in case next test hangs, like BlumBlumShub on some platform/compiler combinations --- datatest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datatest.cpp b/datatest.cpp index c99e2dbd..ecd5e833 100644 --- a/datatest.cpp +++ b/datatest.cpp @@ -813,7 +813,7 @@ bool RunTestDataFile(const char *filename, const NameValuePairs &overrideParamet s_thorough = thorough; unsigned int totalTests = 0, failedTests = 0; TestDataFile((filename ? filename : ""), overrideParameters, totalTests, failedTests); - cout << dec << "\nTests complete. Total tests = " << totalTests << ". Failed tests = " << failedTests << ".\n"; + cout << dec << "\nTests complete. Total tests = " << totalTests << ". Failed tests = " << failedTests << "." << endl; if (failedTests != 0) cout << "SOME TESTS FAILED!\n"; return failedTests == 0;