public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* dg-skip-if usage problem
@ 2004-11-28 22:27 Hans-Peter Nilsson
  2004-11-29 18:10 ` Janis Johnson
  0 siblings, 1 reply; 4+ messages in thread
From: Hans-Peter Nilsson @ 2004-11-28 22:27 UTC (permalink / raw)
  To: gcc; +Cc: Janis Johnson

I'm trying to skip the faulty gcc.dg/20040813-1.c for MMIX (see
PR target/18336).  It seems dg-skip-if should let me do that:
"Skip the test (report it as UNSUPPORTED) if the target list and
included flags are matched and the excluded flags are not
matched" but I don't know how how to use it, and existing usage
doesn't give me a working clue.  For example these permutations
don't work:
/* { dg-skip-if "" { mmix-*-* } { "" } { "" } } */
/* { dg-skip-if "" { mmix-*-* } { "" } { "-c" } } */
/* { dg-skip-if "" { mmix-*-* } { "-c" } { "" } } */
/* { dg-skip-if "" { mmix-*-* } { "-c" } { "-c" } } */
(plus some variants with "no-such-option").  Better would be
to add a dg-require-stabs, of course, but I still need a way to
skip a test, and I'm not happy with just xfailing it: "xfail" is
not "unsupported".

Help?

brgds, H-P

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-29 20:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-28 22:27 dg-skip-if usage problem Hans-Peter Nilsson
2004-11-29 18:10 ` Janis Johnson
2004-11-29 20:32   ` Hans-Peter Nilsson
2004-11-29 21:42     ` Janis Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).