From e44013f7fa260c317d604d2499d5e3699e438598 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 20 Mar 2008 16:37:04 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/cpp/cmdlne-dD-M.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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" } } */ -- 2.30.2