Index: /trunk/psLib/test/psTest.c
===================================================================
--- /trunk/psLib/test/psTest.c	(revision 2751)
+++ /trunk/psLib/test/psTest.c	(revision 2752)
@@ -150,4 +150,6 @@
             psS32 currentId = psMemGetId();
             psS32 retVal = fcn();
+            fflush(stdout);
+            fflush(stderr);
             if ( retVal == 0 ) { // only bother checking memory if test executed to end.
                 if ( psMemCheckLeaks( currentId, NULL, stderr, false ) != 0 ) {
@@ -174,4 +176,6 @@
         psS32 currentId = psMemGetId();
         childReturn = fcn();
+        fflush(stdout);
+        fflush(stderr);
         if ( childReturn == 0 ) { // only bother checking memory if test executed to end.
             if ( psMemCheckLeaks( currentId, NULL, stderr, false ) != 0 ) {
