This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XFAIL vs. KFAIL


Joel Brobecker wrote:

>> can somebody explain the difference between XFAILing and KFAILing a
>> test in the GDB testsuite? I've looked at DejaGNU manual, I haven't
>> found the answer.
> 
> KFAIL is when we know of a failure caused by a bug in GDB.
> 
> XFAIL is when a problem outside of GDB's control is causing the test
> to fail. For instance, a kernel issue, or some wrong debugging info
> generated by the compiler, etc.

Hmm, it appears that at least MI testsuite routinely uses XFAIL for what is
a GDB issue/limitation.

Is the distinction really useful? Both seem to be a mechanism to "hide"
failures that are known to be immediately fixeable, and exact description
of the problem belongs to a comment, anyway.

- Volodya


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]