Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: David Carlton <carlton@math.stanford.edu>
Cc: gdb-patches@sources.redhat.com,
	Michael Elizabeth Chastain <mec@shout.net>
Subject: Re: [patch/rfc] KFAIL gdb.c++/annota2.exp watch triggered on a.x
Date: Fri, 03 Jan 2003 22:30:00 -0000	[thread overview]
Message-ID: <20030103223031.GA15995@nevyn.them.org> (raw)
In-Reply-To: <ro1hecplw3i.fsf@jackfruit.Stanford.EDU>

On Fri, Jan 03, 2003 at 02:14:25PM -0800, David Carlton wrote:
> On Fri, 3 Jan 2003 16:51:34 -0500, Daniel Jacobowitz <drow@mvista.com> said:
> 
> > How do you envision them updating the testsuite?  Certainly not by
> > removing the KFAIL's pattern; that defeats the point of having a
> > regression test.
> 
> That's actually exactly how I expect them to update the testsuite
> (though they might want to keep the pattern around in a comment
> somewhere, or even leave the pattern intact but replace the kfail by
> fail plus a comment).  If a bug is claimed to be fixed but isn't
> actually fixed, then that bug isn't a known failure any more, so it
> should be FAILed until the PR is reopened.
> 
> Consider this scenario: we have a bug, with a test for it; that test
> has a PASS pattern (either because people don't like KPASS or because
> the bug is intermittent) and a KFAIL pattern.

> Removing the test entirely would the point of having a regression
> test.  But removing patterns that handle casses that we don't expect
> to occur should make the test more effective rather than less
> effective: if we get surprising output from GDB, we want that to be
> flagged as prominently as possible.
> 
> At least, that's my reasoning.

OK; you're definitely right.  How about a compromise: we agree not to
remove kfail patterns in the testsuite, but instead replace them with
specific fail patterns and a commented out reference to the failure.
That makes life much simpler.

I still don't see what the point of the KPASS's is.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2003-01-03 22:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-03 21:36 David Carlton
2003-01-03 21:39 ` Daniel Jacobowitz
2003-01-03 21:48   ` David Carlton
2003-01-03 21:51     ` Daniel Jacobowitz
2003-01-03 22:14       ` David Carlton
2003-01-03 22:30         ` Daniel Jacobowitz [this message]
2003-01-03 22:57           ` David Carlton
2003-01-09 17:10 ` David Carlton
2003-01-03 22:12 Michael Elizabeth Chastain
2003-01-03 22:27 ` David Carlton
2003-01-03 23:19 Michael Elizabeth Chastain

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=20030103223031.GA15995@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=carlton@math.stanford.edu \
    --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