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