public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Hans-Peter Nilsson <hp@bitrange.com>
To: gcc@gcc.gnu.org
Cc: Janis Johnson <janis187@us.ibm.com>
Subject: dg-skip-if usage problem
Date: Sun, 28 Nov 2004 22:27:00 -0000	[thread overview]
Message-ID: <Pine.BSF.4.58.0411281644460.23936@dair.pair.com> (raw)

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

             reply	other threads:[~2004-11-28 21:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-28 22:27 Hans-Peter Nilsson [this message]
2004-11-29 18:10 ` Janis Johnson
2004-11-29 20:32   ` Hans-Peter Nilsson
2004-11-29 21:42     ` Janis Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.BSF.4.58.0411281644460.23936@dair.pair.com \
    --to=hp@bitrange.com \
    --cc=gcc@gcc.gnu.org \
    --cc=janis187@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).