Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: David Carlton <carlton@kealia.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: dejagnu@gnu.org, gdb@sources.redhat.com,
	Fernando Nasser <fnasser@redhat.com>
Subject: Re: Print KFAIL's in dejagnu summary?
Date: Fri, 26 Sep 2003 00:03:00 -0000	[thread overview]
Message-ID: <yf2zngs8qji.fsf@hawaii.kealia.com> (raw)
In-Reply-To: <3F7361BB.1000706@redhat.com> (Andrew Cagney's message of "Thu, 25 Sep 2003 17:44:27 -0400")

On Thu, 25 Sep 2003 17:44:27 -0400, Andrew Cagney <ac131313@redhat.com> said:

> At present KFAILs are supressed from the summary output (the stuff
> on the terminal from "make check").  I'd like to change this so that
> KFAILs, just like FAILs, are included in the summary.  A KFAIL, just
> like a FAIL, indicates a bug in the system under test, and hence
> should be included in the summary.

I have a mild preference for the current behavior.  Mostly I use the
summary output to get a feel for whether or not a change of mine has
obviously gone wrong; the noisier the summary output is, the harder it
is to use it this way.  Of course, I always search the entire gdb.sum
for regressions, just to make sure, so it won't make a big practical
difference to me one way or another.

I also think that, right now, a bigger issue is to get the testsuite
and GNATS to agree about what the bugs are in GDB.  So I'm more
interesting in removing the undiagnosed XFAILs and in making some
effort to diagnose existing FAILs than I am in making the KFAILs more
prominent.  (I'd also like to see some effort towards making sure that
open bugs in GNATS are reflected via KFAILs in the test suite.)  It
would also be nice if we had a feel for what bugs are low-hanging
fruit.

The part of the test suite that I pay the most attention to is, of
course, gdb.cp; I haven't noticed that the addition of KFAILs there
has had much of an effect on the rate of bug fixing.  (There are a lot
of old bugs that are still present, but they'd been present for a
while.)  Of course, a lot of the KFAIL additions are from tests that
used to be XFAILs, which didn't change the visibility level of the
bugs.

Some more random musings about the possible roles of the testsuite:

* Its main role is to catch regressions.  Here, I think that making
  FAILs more prominent is good: a FAIL is more likely to be a
  regression than a KFAIL (at least if people delete the appropriate
  setup_kfails from the test suite when they fix bugs).

* It's also useful for people trying to fix bugs: if you've decided to
  fix bug X and if the testsuite contains a KFAIL associated to X,
  then that makes it a lot easier to check if you've fixed the bug
  (and to try to figure out what's causing the bug, for that matter).
  Here, too, there's no reason for KFAILs to be prominent.

* Another role is to remind people of the existence of bugs, to exhort
  people to fix them; that's important to you, but a little less
  important to me than the other two roles.

David Carlton
carlton@kealia.com


  reply	other threads:[~2003-09-25 22:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-25 21:56 Andrew Cagney
2003-09-26  0:03 ` David Carlton [this message]
2003-09-27 15:46   ` Andrew Cagney
2003-09-29 19:46     ` David Carlton
2003-09-27 10:34 ` Jim Blandy
2003-10-03 15:52 ` Rob Savoye
2003-09-25 22:13 Michael Elizabeth Chastain
2003-09-29 20:05 Michael Elizabeth Chastain
2003-10-03 15:57 Michael Elizabeth Chastain
2003-10-03 16:06 ` Rob Savoye
2003-10-03 23:28   ` Ben Elliston

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=yf2zngs8qji.fsf@hawaii.kealia.com \
    --to=carlton@kealia.com \
    --cc=ac131313@redhat.com \
    --cc=dejagnu@gnu.org \
    --cc=fnasser@redhat.com \
    --cc=gdb@sources.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