From: Hans-Peter Nilsson <hp@bitrange.com>
To: "Joseph S. Myers" <joseph@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: Remove code handling old ARM aliases from GDB
Date: Thu, 05 May 2011 23:06:00 -0000 [thread overview]
Message-ID: <alpine.BSF.2.00.1105051839200.67473@dair.pair.com> (raw)
In-Reply-To: <Pine.LNX.4.64.1105052221050.20285@digraph.polyomino.org.uk>
On Thu, 5 May 2011, Joseph S. Myers wrote:
> On Thu, 5 May 2011, Hans-Peter Nilsson wrote:
>
> > On Thu, 5 May 2011, Joseph S. Myers wrote:
> > > On Thu, 5 May 2011, Hans-Peter Nilsson wrote:
> > >
> > > > > -if { [istarget xscale*-*-*] } {
> > > > > +if { [istarget arm*-*-*] } {
> > >
> > > > How did you test these changes?
> > >
> > > I considered them sufficiently obviously syntactically correct not to need
> > > testing.
> >
> > It might have seemed like that at the time, but obviously it
> > wasn't so.
>
> Well, it was *syntactically correct*, as shown by the tests running in
> your log rather than hitting a Tcl syntax error.
Please, we're not talking about Tcl syntax.
> > > I don't call that breaking testing; I call that exposing bugs (whether in
> > > the simulator or testsuite) that were previously hidden by the use of an
> > > obsolete target triplet name.
> >
> > arm-elf passed before and does not anymore after those changes.
>
> "arm-elf" is not a testcase.
I'm not sure what you mean, but "arm-elf passed" was a
contraction for "when running the sim tests for the arm-elf
target, they all passed", which should be obvious from the
context.
> A testsuite regression is when a test assertion fails before and passes
> after a patch. A test assertion corresponds to particular text that may
> appear after "PASS: " or "FAIL: " in the .sum file (for a properly
> functioning DejaGnu testsuite, a slightly looser definition may be
> appropriate for GDB at present). A failure of a test that was not run
> before the patch is not a regression.
I did not say that a specific test regressed; I didn't even
mention the word regression.
But now that you mention it, the end result of running the
test-suite for the arm-elf is certainly a regression from before
those changes.
> > That's breaking testing.
>
> No, breaking testing would be introducing a syntax error so that tests
> that previously run stop running or run incorrectly. Output with FAILs in
> it isn't broken, it simply gives information about what works and what
> doesn't. If a FAIL replaced a PASS that would be a regression, not
> breaking testing, but that isn't the case here either.
Splitting of hairs, choice of words. I guess we have to
disagree on the words, but I'm sure we can agree that running
the tests does exit with an error after, but didn't before your
changes.
As having introduced this, you're on the hook to investigate and
rectify. Another option to those I mentioned is to xfail or
kfailing the failing tests. Please.
brgds, H-P
next prev parent reply other threads:[~2011-05-05 23:06 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-04 19:01 Joseph S. Myers
2011-05-04 19:21 ` Mark Kettenis
2011-05-04 19:23 ` Pedro Alves
2011-05-04 19:24 ` Pedro Alves
2011-05-05 13:21 ` Hans-Peter Nilsson
2011-05-05 13:47 ` Hans-Peter Nilsson
2011-05-05 14:34 ` Joseph S. Myers
2011-05-05 22:11 ` Hans-Peter Nilsson
2011-05-05 22:34 ` Joseph S. Myers
2011-05-05 23:06 ` Hans-Peter Nilsson [this message]
2011-05-05 23:19 ` Joseph S. Myers
2011-05-05 23:52 ` Joseph S. Myers
2011-05-06 0:23 ` Joel Brobecker
2011-05-06 3:00 ` Hans-Peter Nilsson
[not found] ` <Pine.LNX.4.64.1105052349190.20285@digraph.polyomino.org.uk>
2011-05-09 4:53 ` Hans-Peter Nilsson
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=alpine.BSF.2.00.1105051839200.67473@dair.pair.com \
--to=hp@bitrange.com \
--cc=gdb-patches@sourceware.org \
--cc=joseph@codesourcery.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