From 2e6c96fe712bd7a4c42ac7bb24decf0aee0aee85 Mon Sep 17 00:00:00 2001 From: "Steve M. Robbins" Date: Sat, 11 Oct 2008 01:50:28 +0000 Subject: Bug 1649369: Flush stdCOut after startTest() and addFailure(). Fix from the supplied flush patch. --- src/cppunit/TextTestProgressListener.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cppunit') diff --git a/src/cppunit/TextTestProgressListener.cpp b/src/cppunit/TextTestProgressListener.cpp index 5bbe768..ea4fb17 100644 --- a/src/cppunit/TextTestProgressListener.cpp +++ b/src/cppunit/TextTestProgressListener.cpp @@ -20,6 +20,7 @@ void TextTestProgressListener::startTest( Test * ) { stdCOut() << "."; + stdCOut().flush(); } @@ -27,6 +28,7 @@ void TextTestProgressListener::addFailure( const TestFailure &failure ) { stdCOut() << ( failure.isError() ? "E" : "F" ); + stdCOut().flush(); } -- cgit v1.2.1