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