This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/25352] xfail within dg-do command has no effect
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Dec 2005 19:08:09 -0000
- Subject: [Bug testsuite/25352] xfail within dg-do command has no effect
- References: <bug-25352-578@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from janis at gcc dot gnu dot org 2005-12-13 19:08 -------
xfail within a dg-do command other than run has no effect, at least not with
DejaGnu 1.4.4 used with GCC at least as far back as 3.0. The DejaGnu
documentation doesn't mention the dg-* directives. The comments in
dejagnu/dg.exp file implies that xfail should be recognized for all dg-do
options.
There are 50+ tests in gcc/testsuite that use xfail with dg-do assemble,
compile, and link, so perhaps it worked at one time.
The generated tests in gcc/testsuite/gcc.test-framework only test xfail with
"dg-do run", and there are no permanent tests for xfail with dg-do and other
actions.
There's undoubtedly a way for the GCC dg scripts to capture the information
that the test's dg-do had an xfail, although it will probably be ugly. I'll
keep investigating to find out just how ugly it will need to be.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25352