This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to XFAIL a gcc.dg test?


Mark Mitchell <mark@codesourcery.com> writes:

| I can't figure out how to XFAIL a test that has a target selector.
| 
| For example:
| 
|  { dg-do run { xfail sparc*-*-* } { target sparc*-*-* } }
| 
| doesn't work.  Is there a way to do this?

You can't put target and xfail on one line.  You can break it in
separate lines since repeated occurences of dg-keywords are supported.

In order words, you might want to write

	{ dg-do run { target sparc*-*-* } }
	{ dg-do run { xfail sparc*-*-* } }

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]