Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Doug Evans <dje@google.com>
Cc: Joel Brobecker <brobecker@adacore.com>,
	Tom Tromey <tromey@redhat.com>,
	       gdb-patches@sourceware.org
Subject: [doc patch] gdbint: XFAIL vs. KFAIL  [Re: [patch] gcc KFAILs to XFAILs]
Date: Wed, 14 Dec 2011 19:51:00 -0000	[thread overview]
Message-ID: <20111214194220.GA24281@host2.jankratochvil.net> (raw)
In-Reply-To: <CADPb22QRAqkv9pSJEy5-s33a5D13XAOcaShPU=OVHhQBYap1qg@mail.gmail.com>

On Wed, 14 Dec 2011 20:28:15 +0100, Doug Evans wrote:
> Can someone check into gdbint.texi definitions of xfail and kfail?
> There's a section "Writing Tests", seems like an appropriate place.

FYI I wanted to add it to
	http://sourceware.org/gdb/wiki/GDBTestcaseCookbook
but it already states:
	Known failing new testcases must produce KFAIL (GDB problem) or XFAIL
	(environment problem). 

Not going to check it in without the doc review.


Thanks,
Jan


gdb/doc/
2011-12-14  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdbint.texinfo (Testsuite): Describe KFAIL and XFAIL in Writing
	tests.

--- a/gdb/doc/gdbint.texinfo
+++ b/gdb/doc/gdbint.texinfo
@@ -7846,6 +7846,20 @@ instance, some @value{GDBN} bugs involving the display of source lines would
 never manifest themselves if the programs used GNU coding style
 uniformly.
 
+Some testcase results need more detailed explanation:
+
+@table @code
+@item KFAIL
+Known problem of @value{GDBN} itself.  You must specify the @value{GDBN} bug
+report number.
+
+@item XFAIL
+Known problem of environment.  This typically includes @value{NGCC} but it
+includes also many other system components which cannot be fixed in the
+@value{GDBN} project.  You should provide bug report number for the failing
+component of the environment, if such bug report is available.
+@end table
+
 @node Hints
 
 @chapter Hints


  reply	other threads:[~2011-12-14 19:43 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-05  8:19 creating the gdb-7.4 branch tomorrow (?) Joel Brobecker
2011-12-06 18:45 ` Tom Tromey
2011-12-06 18:53 ` Tom Tromey
2011-12-06 18:54 ` Tom Tromey
2011-12-06 19:05 ` Tom Tromey
2011-12-06 19:05 ` Tom Tromey
2011-12-06 19:07 ` Tom Tromey
2011-12-06 19:10 ` Tom Tromey
2011-12-07  4:09   ` Hui Zhu
2011-12-07  9:54     ` Joel Brobecker
2011-12-07 16:24       ` Stan Shebs
2011-12-07 23:50       ` Stan Shebs
2011-12-08  8:22         ` Joel Brobecker
2011-12-07  9:11   ` Jan Kratochvil
2011-12-07 10:01     ` Joel Brobecker
2011-12-08 15:33     ` FYI: fixlet in ovsrch.exp (Was: creating the gdb-7.4 branch tomorrow (?)) Tom Tromey
2011-12-09 17:17   ` Crash regression for gdb.base/ending-run.exp [Re: creating the gdb-7.4 branch tomorrow (?)] Jan Kratochvil
2011-12-09 19:05     ` Tom Tromey
2011-12-09 21:00       ` Jan Kratochvil
2011-12-09 17:17   ` Regression for gdb.base/sigstep.exp with .debug_types " Jan Kratochvil
2011-12-09 17:26     ` Regression for gdb.base/sigstep.exp with .debug_types Jan Kratochvil
2011-12-09 20:50       ` Tom Tromey
2011-12-09 21:55         ` Jan Kratochvil
2011-12-10  9:46           ` Tom Tromey
2011-12-10 19:27           ` [commit] testsuite: KFAIL gdb.cp/static-method.exp [Re: Regression for gdb.base/sigstep.exp with .debug_types] Jan Kratochvil
2011-12-11  9:26             ` Joel Brobecker
2011-12-11 12:42               ` Jan Kratochvil
2011-12-11 12:46                 ` Joel Brobecker
2011-12-14 19:02                   ` [patch] gcc KFAILs to XFAILs [Re: [commit] testsuite: KFAIL gdb.cp/static-method.exp] Jan Kratochvil
2011-12-14 19:43                     ` Doug Evans
2011-12-14 19:51                       ` Jan Kratochvil [this message]
2011-12-15  5:33                         ` [doc patch] gdbint: XFAIL vs. KFAIL [Re: [patch] gcc KFAILs to XFAILs] Eli Zaretskii
2011-12-19 11:16                           ` Jan Kratochvil
2011-12-19 13:41                             ` Eli Zaretskii
2011-12-19 13:42                               ` [commit] " Jan Kratochvil
2011-12-19 13:43                     ` [commit] [patch] gcc KFAILs to XFAILs [Re: [commit] testsuite: KFAIL gdb.cp/static-method.exp] Jan Kratochvil
2011-12-09 20:17     ` Regression for gdb.base/sigstep.exp with .debug_types [Re: creating the gdb-7.4 branch tomorrow (?)] Tom Tromey
2011-12-09 20:20       ` Jan Kratochvil
2011-12-14 11:52   ` creating the gdb-7.4 branch tomorrow (?) Andreas Schwab
2011-12-14 13:20     ` Joel Brobecker
2011-12-14 13:34       ` Andreas Schwab
2011-12-14 19:28     ` Joel Brobecker
2011-12-14 21:16       ` Andreas Schwab
2011-12-14 21:31         ` Joel Brobecker
2011-12-14 22:06           ` Andreas Schwab
2011-12-15 17:43       ` Tom Tromey
2012-07-22 19:41   ` Andreas Schwab
2012-08-15 19:34     ` Tom Tromey
2012-08-22 14:23       ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111214194220.GA24281@host2.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox