Commit 9a2b17c9 by Nathan Sidwell Committed by Nathan Sidwell

struct-layout-1_generate.c: Simply use exit code for failure.

	* gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c: Simply
	use exit code for failure.

From-SVN: r227310
parent c5a0d299
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.
......
......@@ -805,12 +805,7 @@ int main (void)\n\
#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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment