diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2006-01-19 16:57:43 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2006-01-19 08:57:43 -0800 |
commit | d103fa240f8cd5cbde8329a390e7b7430c4b5b1a (patch) | |
tree | 64781f44b05dce27b238b48b7164a1b2a37e39c0 /gcc/testsuite/objc.dg | |
parent | 50674e968a56527fa78d2fa78651276e696b64fd (diff) | |
download | gcc-d103fa240f8cd5cbde8329a390e7b7430c4b5b1a.zip gcc-d103fa240f8cd5cbde8329a390e7b7430c4b5b1a.tar.gz gcc-d103fa240f8cd5cbde8329a390e7b7430c4b5b1a.tar.bz2 |
struct-layout-encoding-1_generate.c (switchfiles): Fix fprintf's by adding srcdir or removing it.
2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
* objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c (switchfiles):
Fix fprintf's by adding srcdir or removing it.
From-SVN: r109970
Diffstat (limited to 'gcc/testsuite/objc.dg')
-rw-r--r-- | gcc/testsuite/objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c b/gcc/testsuite/objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c index 31f328e..4b5d5c6 100644 --- a/gcc/testsuite/objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c +++ b/gcc/testsuite/objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c @@ -230,13 +230,13 @@ switchfiles (int fields) { fprintf (outfile, "\ /* { dg-do run { xfail *-*-* } } */\n\ -/* { dg-options \"-w -I%s -fgnu-runtime\" } */\n"); +/* { dg-options \"-w -I%s -fgnu-runtime\" } */\n", srcdir); } else { fprintf (outfile, "\ /* { dg-do run } */\n\ -/* { dg-options \"-w -I%s -fgnu-runtime\" } */\n"); +/* { dg-options \"-w -I%s -fgnu-runtime\" } */\n", srcdir); } fprintf(outfile, "#include <objc/encoding.h> \n\ #include \"struct-layout-1.h\"\n\ @@ -274,7 +274,7 @@ int main (void)\n\ abort ();\n\ }\n\ exit (0);\n\ -}\n", srcdir, filecnt, filecnt); +}\n", filecnt, filecnt); fclose (outfile); sprintf (destptr, "t%03d_test.h", filecnt); outfile = fopen (destbuf, "w"); |