PR testsuite/35647

Andreas Schwab schwab@suse.de
Thu Mar 20 16:46:00 GMT 2008


Jan Hubicka <jh@suse.cz> writes:

>> 
>> 2008-03-20  Andreas Schwab  <schwab@suse.de>
>> 
>> 	PR testsuite/35647
>> 	* gcc.dg/cpp/cmdlne-dI-M.c: Match optional continuation.
>> 	* gcc.dg/cpp/cmdlne-dM-M.c: Likewise.
>> 	* gcc.dg/cpp/cmdlne-dN-M.c: Match correct file name and optional
>> 	continuation and remove xfail.
>
> Thank a lot for fixing it!  Note that those two are not only xfailed
> testcase of this kind, perhaps the others needs similar updating?

I missed one xfail, fixed thusly.

Andreas.

2008-03-20  Andreas Schwab  <schwab@suse.de>

	* gcc.dg/cpp/cmdlne-dD-M.c: Fix test for makefile rule and remove
	xfail.

Index: gcc.dg/cpp/cmdlne-dD-M.c
===================================================================
--- gcc.dg/cpp/cmdlne-dD-M.c	(revision 133366)
+++ gcc.dg/cpp/cmdlne-dD-M.c	(working copy)
@@ -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" } } */

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc-patches mailing list