This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to properly check for regressions?


>>>>> "Marc" == Marc Khouzam <marc.khouzam@ericsson.com> writes:

Marc> What is the right way to make sure my patch does not cause regressions?

What I do is have a script that extracts the relevant lines from gdb.sum
and normalizes them; then I compare the normalized files.

Our buildbot automates all this -- but I suspect somewhat poorly,
because Jan is constantly finding regressions I didn't see.
Probably we should all use his script.  I think he's sent it to one of
the lists before; or maybe it is on the wiki.

Marc> And how do I deal with tests that sometimes pass and sometimes fail.

The most common approach is to learn what they are and ignore them.
This isn't totally satisfactory; fixing them or removing them would be
nicer.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]