Flush the standard error stream before aborting.
[gnulib.git] / tests / test-ceilf1.c
index e2a04a0..430e4ab 100644 (file)
@@ -32,6 +32,7 @@
       if (!(expr))                                                          \
         {                                                                   \
           fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
+          fflush (stderr);                                                  \
           abort ();                                                         \
         }                                                                   \
     }                                                                       \