On Tue, 05 Nov 2002 17:54:27 -0500, Andrew Cagney <ac131313@redhat.com> said:
The tests in pc-fp.exp display the actual values of $pc and $fp in
their PASS messages. That makes regression testing a bit more
annoying for me: the value of $fp changes with every change I make
to GDB. Is it okay to tweak the PASS messages not to display those
values?
As far as I know, anything in trailing paren should be ignored when
comparing test results. You might want to tweak your script (I've
attached mine) to do this.
Wow: your script is complicated. I just do
diff -u (first file) (second file) | grep -v schedlock
I could do something more complicated than that, of course; on the
other hand, I'm still not convinced that I should. It seems to me
that details like the value of the variables in question shouldn't be
in gdb.sum: if I want that level of information, I'll look in gdb.log.
I think there's a virtue in having gdb.sum in a format that's easily
checkable without worrying about parsing issues: the easier it is to
do regression testing, the more often it will happen.
Ah, you've never had to cross compare 64 different targets to check that
their results are equivalent :-)