From 47d3c5a2c63478288345235f26533f2d6059e815 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 14 Jul 2006 20:06:34 -0400 Subject: [PATCH] Flush stdout after writing \r, to remove artifacts. --- test/cairo-test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/cairo-test.c b/test/cairo-test.c index 19adf3e63..ea580bed8 100644 --- a/test/cairo-test.c +++ b/test/cairo-test.c @@ -1886,6 +1886,7 @@ cairo_test_expecting (cairo_test_t *test, } else { /* eat the test name */ printf ("\r"); + fflush (stdout); } cairo_test_log ("CRASHED\n"); fprintf (stderr, "%s-%s-%s [%d]:\t%s!!!CRASHED!!!%s\n", @@ -1905,6 +1906,7 @@ cairo_test_expecting (cairo_test_t *test, } else { /* eat the test name */ printf ("\r"); + fflush (stdout); } fprintf (stderr, "%s-%s-%s [%d]:\t%sFAIL%s\n", test->name, target->name,