Rename isnand.h to isnand-nolibm.h, similarly for isnanf.h.
[gnulib.git] / tests / test-vprintf-posix.c
index 78a2506..441551f 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of POSIX compatible vfprintf() function.
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007-2008 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
       if (!(expr))                                                          \
         {                                                                   \
           fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
+          fflush (stderr);                                                  \
           abort ();                                                         \
         }                                                                   \
     }                                                                       \
   while (0)
 
+#include "test-printf-posix.h"
+
 static int
 my_printf (const char *format, ...)
 {
@@ -50,8 +53,6 @@ my_printf (const char *format, ...)
   return ret;
 }
 
-#include "test-printf-posix.h"
-
 int
 main (int argc, char *argv[])
 {