This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/25352] New: xfail within dg-do command has no effect
- From: "ghazi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Dec 2005 15:01:38 -0000
- Subject: [Bug testsuite/25352] New: xfail within dg-do command has no effect
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
If you use an xfail command within a dg-do, it has no effect. E.g this generic
testcase will FAIL rather than XFAIL:
/* { dg-do preprocess { xfail *-*-* } } */
#error intentional failure!
int main(void)
{
return 0;
}
Right now, none of the ~100 testcases in the testsuite using this idiom are
honoring it. So they're either now passing or unnecessarily cluttering up
testsuite results.
--
Summary: xfail within dg-do command has no effect
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ghazi at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25352