From: Andreas Schwab Date: Thu, 20 Mar 2008 16:37:04 +0000 (+0000) Subject: cmdlne-dD-M.c: Fix test for makefile rule and remove xfail. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e44013f7fa260c317d604d2499d5e3699e438598;p=gcc.git cmdlne-dD-M.c: Fix test for makefile rule and remove xfail. * gcc.dg/cpp/cmdlne-dD-M.c: Fix test for makefile rule and remove xfail. From-SVN: r133384 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a8fe4163729..df4231e93ec 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-03-20 Andreas Schwab + + * gcc.dg/cpp/cmdlne-dD-M.c: Fix test for makefile rule and remove + xfail. + 2008-03-20 Uros Bizjak * gcc.dg/gomp/pr34692.c: Cleanup gimple dump file. diff --git a/gcc/testsuite/gcc.dg/cpp/cmdlne-dD-M.c b/gcc/testsuite/gcc.dg/cpp/cmdlne-dD-M.c index 1bc7916fcd3..d1a3b8f0922 100644 --- a/gcc/testsuite/gcc.dg/cpp/cmdlne-dD-M.c +++ b/gcc/testsuite/gcc.dg/cpp/cmdlne-dD-M.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. */ +/* Copyright (C) 2002, 2003, 2008 Free Software Foundation, Inc. */ /* { dg-do preprocess } */ /* { dg-options "-dD -M" } */ @@ -12,4 +12,4 @@ int variable; /* { dg-final { scan-file-not cmdlne-dD-M.i "(^|\\n)#define foo bar($|\\n)" } } { dg-final { scan-file-not cmdlne-dD-M.i "variable" } } - { dg-final { scan-file-not cmdlne-dD-M.i "(^|\n)cmdlne-dD-M.*:.*cmdlne-dD-M.c" { xfail *-*-* } } } */ + { dg-final { scan-file cmdlne-dD-M.i "(^|\n)cmdlne-dD-M\[^\\n\]*:( *\\\\\\n)?\[^\\n\]*cmdlne-dD-M.c" } } */