mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
c5a0d29967
commit
9a2b17c9dd
|
|
@ -1,5 +1,8 @@
|
||||||
2015-08-28 Nathan Sidwell <nathan@acm.org>
|
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-1.c: Use plain printf.
|
||||||
* gcc/testsuite/gcc.dg/torture/matrix-2.c: Likewise.
|
* gcc/testsuite/gcc.dg/torture/matrix-2.c: Likewise.
|
||||||
* gcc/testsuite/gcc.dg/torture/matrix-5.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\
|
#define TX(n, type, attrs, fields, ops) test##n ();\n\
|
||||||
#include \"t%03d_test.h\"\n\
|
#include \"t%03d_test.h\"\n\
|
||||||
#undef TX\n\
|
#undef TX\n\
|
||||||
if (fails)\n\
|
exit (fails != 0);\n\
|
||||||
{\n\
|
|
||||||
fflush (stdout);\n\
|
|
||||||
abort ();\n\
|
|
||||||
}\n\
|
|
||||||
exit (0);\n\
|
|
||||||
}\n", filecnt, filecnt);
|
}\n", filecnt, filecnt);
|
||||||
fclose (outfile);
|
fclose (outfile);
|
||||||
sprintf (destptr, "t%03d_x.c", filecnt);
|
sprintf (destptr, "t%03d_x.c", filecnt);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue