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

Reply via email to