cmdlne-dD-M.c: Fix test for makefile rule and remove xfail.
authorAndreas Schwab <schwab@suse.de>
Thu, 20 Mar 2008 16:37:04 +0000 (16:37 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Thu, 20 Mar 2008 16:37:04 +0000 (16:37 +0000)
* gcc.dg/cpp/cmdlne-dD-M.c: Fix test for makefile rule and remove
xfail.

From-SVN: r133384

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/cmdlne-dD-M.c

index a8fe41637295b07114f9c24fb5e29f1936367a4c..df4231e93ec66c2f30d09e3b4a5f75331ef6f835 100644 (file)
@@ -1,3 +1,8 @@
+2008-03-20  Andreas Schwab  <schwab@suse.de>
+
+       * gcc.dg/cpp/cmdlne-dD-M.c: Fix test for makefile rule and remove
+       xfail.
+
 2008-03-20  Uros Bizjak  <ubizjak@gmail.com>
 
        * gcc.dg/gomp/pr34692.c: Cleanup gimple dump file.
index 1bc7916fcd3870ca6c49b20ec7f6a4a8ae3e2b60..d1a3b8f0922b51fd9301c3695d901de5a8c39adc 100644 (file)
@@ -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" } } */