diff options
author | Janis Johnson <janis187@us.ibm.com> | 2008-05-21 18:03:32 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2008-05-21 18:03:32 +0000 |
commit | 00a25a2d39c992235f57f6d891a407144236760c (patch) | |
tree | 74ac640467fdfcb0d90754fa3d1b5fd0dd43b621 /gcc/testsuite/gcc.test-framework/dg-dot-run-xrif-exp-XP.c | |
parent | 80980aecc61c7c892d37cc6dd28511c76e80863e (diff) | |
download | gcc-00a25a2d39c992235f57f6d891a407144236760c.tar.gz |
sourcebuild.texi (Test Directives): Add dg-xfail-run-if.
gcc/
* doc/sourcebuild.texi (Test Directives): Add dg-xfail-run-if.
gcc/testsuite/
* lib/target-supports-dg.exp (dg-xfail-run-if): New.
* gcc.test-framework/dg-do-run-xrif-exp-F.c: New test.
* gcc.test-framework/dg-do-run-xrif-exp-P.c: New test.
* gcc.test-framework/dg-do-run-xrif-exp-XF.c: New test.
* gcc.test-framework/dg-do-run-xrif-exp-XP.c: New test.
* gcc.test-framework/dg-dot-run-xrif-exp-F.c: New test.
* gcc.test-framework/dg-dot-run-xrif-exp-P.c: New test.
* gcc.test-framework/dg-dot-run-xrif-exp-XF.c: New test.
* gcc.test-framework/dg-dot-run-xrif-exp-XP.c: New test.
* gcc.test-framework/test-framework.awk: Handle new tests.
From-SVN: r135729
Diffstat (limited to 'gcc/testsuite/gcc.test-framework/dg-dot-run-xrif-exp-XP.c')
-rw-r--r-- | gcc/testsuite/gcc.test-framework/dg-dot-run-xrif-exp-XP.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.test-framework/dg-dot-run-xrif-exp-XP.c b/gcc/testsuite/gcc.test-framework/dg-dot-run-xrif-exp-XP.c new file mode 100644 index 00000000000..f1ac0c1de9f --- /dev/null +++ b/gcc/testsuite/gcc.test-framework/dg-dot-run-xrif-exp-XP.c @@ -0,0 +1,10 @@ +/* { dg-do run { xfail empty-*-* } } */ +/* { dg-xfail-run-if "" { *-*-* } { "*" } { "" } } */ + +extern void abort (void); + +int +main () +{ + return 0; /* First xfail list didn't match but second did, so XPASS. */ +} |