Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* How to properly check for regressions?
@ 2011-08-04 20:44 Marc Khouzam
  2011-08-04 20:51 ` Tom Tromey
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Khouzam @ 2011-08-04 20:44 UTC (permalink / raw)
  To: 'gdb@sourceware.org'

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-08-05  3:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-04 20:44 How to properly check for regressions? Marc Khouzam
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox