public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/25352]  New: xfail within dg-do command has no effect
@ 2005-12-11 15:01 ghazi at gcc dot gnu dot org
  2005-12-11 15:14 ` [Bug testsuite/25352] " ghazi at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2005-12-11 15:01 UTC (permalink / raw)
  To: gcc-bugs

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


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

end of thread, other threads:[~2008-05-13 22:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-11 15:01 [Bug testsuite/25352] New: xfail within dg-do command has no effect ghazi at gcc dot gnu dot org
2005-12-11 15:14 ` [Bug testsuite/25352] " ghazi at gcc dot gnu dot org
2005-12-12 17:57 ` janis at gcc dot gnu dot org
2005-12-12 22:14 ` janis at gcc dot gnu dot org
2005-12-13 19:08 ` janis at gcc dot gnu dot org
2005-12-14 18:17 ` janis at gcc dot gnu dot org
2005-12-14 18:36 ` ghazi at gcc dot gnu dot org
2007-05-10 16:44 ` ghazi at gcc dot gnu dot org
2007-05-10 23:51 ` janis at gcc dot gnu dot org
2007-05-15 16:47 ` ghazi at gcc dot gnu dot org
2007-11-01 16:23 ` janis at gcc dot gnu dot org
2008-05-13 22:20 ` janis at gcc dot gnu dot org

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).