On 05/12/2010 11:03 AM, leledumbo wrote:
Enjoy it:  http://n4.nabble.com/file/n2195777/testsuite.zip testsuite.zip

Please try the attached patch.

Note: I don't know why re-"make check" stops (or maybe I didn't wait too
long) at Swazoo test, so I Ctrl+C it. I'll retry with a fresh build.

This may be a race condition/heisenbug.

Paolo
diff --git a/libgst/comp.c b/libgst/comp.c
index 5761ea5..b1a27e8 100644
--- a/libgst/comp.c
+++ b/libgst/comp.c
@@ -722,6 +722,9 @@ _gst_execute_statements (tree_node temps,
       else
        printf ("%O\n", _gst_last_returned_value);
 
+#if defined _WIN32 && !defined __CYGWIN__
+      _flushall ();
+#endif
       _gst_execution_tracing = save_execution;
     }
   if (quiet || _gst_verbosity < 3)
diff --git a/libgst/gst-parse.c b/libgst/gst-parse.c
index 08ddb37..f8bf684 100644
--- a/libgst/gst-parse.c
+++ b/libgst/gst-parse.c
@@ -585,13 +585,25 @@ parse_eval_definition (gst_parser *p)
   if (stmts && !_gst_had_error)
     {
       if (_gst_regression_testing)
-        printf ("\nExecution begins...\n");
+        {
+          printf ("\nExecution begins...\n");
+#if defined _WIN32 && !defined __CYGWIN__
+          _flushall ();
+#endif
+        }
 
       _gst_execute_statements (tmps, stmts, UNDECLARED_TEMPORARIES,
                               _gst_regression_testing);
 
-      if (_gst_regression_testing && !_gst_had_error)
-        printf ("returned value is %O\n", _gst_last_returned_value);
+      if (_gst_regression_testing)
+        {
+          if (!_gst_had_error)
+            printf ("returned value is %O\n", _gst_last_returned_value);
+#if defined _WIN32 && !defined __CYGWIN__
+          _flushall ();
+#endif
+        }
+
       _gst_had_error = false;
     }
 
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to