Using bugzilla to track XFAILs

Mark Mitchell mark@codesourcery.com
Fri Feb 13 21:07:00 GMT 2004


Giovanni Bajo wrote:

>Hello,
>
>it looks like we currently don't have any way to track regressions which are
>XFAILed in the testsuite.
>
Yes, there should be PRs for such things.

I don't see any reason for using a special keyword in Bugzila.

Bugs that happen to already have an XFAILed test in the testsuite are no 
different than any other bug, except that we don't have to create a new 
test when we fix the bug.  The PR should just say "g++.foo/bar/baz.C is 
an XFAILed test for this case."

Fundamentally, this problem comes from the fact that some people have 
used the testsuite as an alternative to a bug-tracking database.  We are 
not supposed to be doing that any more; the testsuite is for regression 
tests; Bugzilla is for defect-tracking.  Things like KFAIL are a bad 
idea because they perpetuate this confusion.

-- 
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com



More information about the Gcc mailing list