This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Testsuite patch for Solaris 10
On Mon, 15 Nov 2004, Janis Johnson wrote:
> { dg-skip-if message { targets } { include } { exclude } }
>
> The following would skip a test on an i?86 target when -m64 is one of
> the command-line options. The dg-do target list could specify all
> targets on which to run the test.
>
> { dg-skip-if "" { i?86 } { "*" } { "-m64" } }
>
> This has the advantage of looking like dg-xfail-if.
It also has the advantage of being such that the same dg-skip-if
specification would naturally be used both for the x86-only tests which
have plain dg-forbid-option and for the tests with special options on x86
that condition dg-forbid-option on being a x86 target. It looks good to
me as a dg-forbid-option replacement.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)