Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: David Carlton <carlton@kealia.com>
To: Michael Elizabeth Chastain <mec@shout.net>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [testsuite] add gdb.cp/gdb1355.exp
Date: Thu, 18 Sep 2003 15:38:00 -0000	[thread overview]
Message-ID: <yf2vfrqcdjh.fsf@hawaii.kealia.com> (raw)
In-Reply-To: <200309180201.h8I21hCr013787@duracef.shout.net> (Michael Elizabeth Chastain's message of "Wed, 17 Sep 2003 22:01:43 -0400")

On Wed, 17 Sep 2003 22:01:43 -0400, Michael Elizabeth Chastain <mec@shout.net> said:

> As far as making it a FAIL goes, I think David's argument comes down
> to: people pay attention to FAIL, but not to XFAIL or KFAIL.

More or less, yes.  Let me rephrase this in a different way (and I'll
discuss the issue in terms of KFAIL, but the same goes for XFAIL).  We
have three possible states for a bug:

1) The bug is completely undiagnosed.
2) The bug is diagnosed but known not to be fixed.
3) The bug was diagnosed, thought to be fixed, but not actually fixed.

We have three states here, and only two bug labels (and I will scream
if anybody tries to add "ONCEFAILED" to dejagnu).  So, no matter what,
we're going to lose information.  In that regard, I don't think this
statement of yours is the correct way to phrase the question:

> I see the question as: whether to fight the situation and use more
> accurate XFAIL/KFAIL rather than generic FAIL, or to acquiesce to
> situation and give people what they expect to see.

In your proposal, KFAIL is less precise (since it encompasses cases 2
and 3) while FAIL is more precise (it encompasses only case 1); in my
proposal, FAIL is less precise (cases 1,3) while KFAIL is more precise
(only case 2).  One question, then, is: which state do we want to be
more precise?  I would answer KFAIL.

That's the static way of looking at the situation; another is a
dynamic way, namely how will the output of the tests change between
runs.  In both of our proposals, if a regression pops up, we'll see a
state transition: either PASS=>FAIL or PASS=>KFAIL.  But my proposal
also guarantees that there will always be a state transition after a
bug is (thought to be) fixed: either KFAIL=>PASS or KFAIL=>FAIL.  In
your proposal, the latter scenario won't lead to a state transition:
it will remain KFAIL.

I guess that's enough babbling from me; I'll try to be quiet for a
little while now. :-)

David Carlton
carlton@kealia.com


  parent reply	other threads:[~2003-09-18 15:38 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-18  2:01 Michael Elizabeth Chastain
2003-09-18 14:27 ` Andrew Cagney
2003-09-18 16:05   ` David Carlton
2003-09-18 15:38 ` David Carlton [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-09-20 22:03 Michael Elizabeth Chastain
2003-09-20 21:59 Michael Elizabeth Chastain
2003-09-18 21:27 Michael Elizabeth Chastain
2003-09-20 21:46 ` Andrew Cagney
2003-09-20 22:31   ` Daniel Jacobowitz
2003-09-21  0:51     ` Andrew Cagney
2003-09-18 21:22 Michael Elizabeth Chastain
2003-09-18 15:33 Michael Elizabeth Chastain
2003-09-20 21:40 ` Andrew Cagney
2003-09-18  0:54 Michael Elizabeth Chastain
2003-09-18  0:56 ` Daniel Jacobowitz
2003-09-18  1:20   ` David Carlton
2003-09-18  1:27     ` David Carlton
2003-09-18  0:00 Michael Elizabeth Chastain
2003-09-18  0:48 ` David Carlton

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=yf2vfrqcdjh.fsf@hawaii.kealia.com \
    --to=carlton@kealia.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mec@shout.net \
    /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