From: Doug Evans <dje@google.com>
To: Pedro Alves <palves@redhat.com>
Cc: David Edelsohn <dje.gcc@gmail.com>,
Joel Brobecker <brobecker@adacore.com>,
GDB Patches <gdb-patches@sourceware.org>
Subject: Re: racy tests
Date: Tue, 14 Jul 2015 16:05:00 -0000 [thread overview]
Message-ID: <CADPb22RUk8cK0UwYVVEunnLki8jKF7+VEFOTycViv+RBmwGHrg@mail.gmail.com> (raw)
In-Reply-To: <55A1665E.2070404@redhat.com>
On Sat, Jul 11, 2015 at 11:54 AM, Pedro Alves <palves@redhat.com> wrote:
> One thing that I'd like is for this to be part of the testsuite
> itself, rather than separate machinery the buildbot uses. That way,
> everyone benefits from it, and so that we all maintain/evolve it.
> I think this is important, because people are often confused that
> they do a test run before patch, apply patch, run test, and see
> confusing new FAILs their patch can't explain.
No disagreement there.
I would build it on top of what's there now.
[I'd rather build this up in layers, and not have
overly complicated lower layers.]
A next question that arises is maintaining history.
E.g., how does one diff the results of the current run
with the current "gold standard"?
The way I do it here is to have separate files that augment the
XFAIL/KFAIL markers in the test (it's far easier to maintain a few
files than editing each test's .exp file)
but I'm not sure it scales well.
[E.g., I need to keep separate files for different compilers,
though there is a #include mechanism for common stuff.]
Alternatively,
If a test run could take as input the gdb.sum file from a baseline
run (e.g., from an unpatched trunk) then that could work.
Buildbot could use the previous run, and Joe-Developer
could either use as input a buildbot run's output file
or run the testsuite twice (e.g., with/without the patch-under-test).
[I wouldn't use gdb.sum specifically, I'm just using it here
for illustration's sake.]
next prev parent reply other threads:[~2015-07-14 16:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-09 22:34 GDB 7.9.90 available for testing David Edelsohn
2015-07-09 23:21 ` Joel Brobecker
2015-07-10 1:30 ` David Edelsohn
2015-07-10 3:43 ` Joel Brobecker
2015-07-10 14:04 ` David Edelsohn
2015-07-10 14:33 ` Pedro Alves
2015-07-10 14:56 ` David Edelsohn
2015-07-10 15:08 ` Pedro Alves
2015-07-10 15:25 ` David Edelsohn
2015-07-10 15:33 ` Pedro Alves
2015-07-11 13:59 ` Doug Evans
2015-07-11 18:54 ` racy tests Pedro Alves
2015-07-14 16:05 ` Doug Evans [this message]
2015-07-14 20:26 ` Sergio Durigan Junior
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=CADPb22RUk8cK0UwYVVEunnLki8jKF7+VEFOTycViv+RBmwGHrg@mail.gmail.com \
--to=dje@google.com \
--cc=brobecker@adacore.com \
--cc=dje.gcc@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=palves@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