* gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c: Simply
use exit code for failure.
From-SVN: r227310
2015-08-28 Nathan Sidwell <nathan@acm.org>
+ * gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c: Simply
+ use exit code for failure.
+
* gcc/testsuite/gcc.dg/torture/matrix-1.c: Use plain printf.
* gcc/testsuite/gcc.dg/torture/matrix-2.c: Likewise.
* gcc/testsuite/gcc.dg/torture/matrix-5.c: Likewise.
#define TX(n, type, attrs, fields, ops) test##n ();\n\
#include \"t%03d_test.h\"\n\
#undef TX\n\
- if (fails)\n\
- {\n\
- fflush (stdout);\n\
- abort ();\n\
- }\n\
- exit (0);\n\
+ exit (fails != 0);\n\
}\n", filecnt, filecnt);
fclose (outfile);
sprintf (destptr, "t%03d_x.c", filecnt);