From: Marc Khouzam <marc.khouzam@ericsson.com>
To: "'gdb@sourceware.org'" <gdb@sourceware.org>
Subject: How to properly check for regressions?
Date: Thu, 04 Aug 2011 20:44:00 -0000 [thread overview]
Message-ID: <F7CE05678329534C957159168FA70DEC5784D50ABD@EUSAACMS0703.eamcs.ericsson.se> (raw)
Hi,
I just realized that I might have been checking for regressions wrong!
The doc says
(http://sourceware.org/gdb/current/onlinedocs/gdbint/Testsuite.html#Testsuite)
"When the testsuite is finished, you'll get a summary that looks like this:"
So, I've always looked at that summary, at the end of the console printouts,
and made sure it was the same before and after my patches. (note that
with -j4, that last summary showed thousands of tests)
But now I found the testsuite/gdb.sum file which shows a larger
set of tests in the summary that what is shown in the console.
Doing a diff of that file before and after my patch showed failures
I hadn't seen from the console summary.
What is the right way to make sure my patch does not cause regressions?
And how do I deal with tests that sometimes pass and sometimes fail.
The gdb.sum file does not seem to be constant, event without code changes.
Thanks
Marc
next reply other threads:[~2011-08-04 20:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-04 20:44 Marc Khouzam [this message]
2011-08-04 20:51 ` Tom Tromey
2011-08-04 22:39 ` Jan Kratochvil
2011-08-04 23:04 ` Andreas Schwab
2011-08-05 3:53 ` 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=F7CE05678329534C957159168FA70DEC5784D50ABD@EUSAACMS0703.eamcs.ericsson.se \
--to=marc.khouzam@ericsson.com \
--cc=gdb@sourceware.org \
/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