public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* comparing DejaGNU results
@ 2006-05-31 18:13 James Lemke
  2006-05-31 18:25 ` Joe Buck
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: James Lemke @ 2006-05-31 18:13 UTC (permalink / raw)
  To: gcc

[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]

I wanted some mechanical way to compare the output of dejagnu runs
between releases, etc.  I asked a few people at the GCC Summit last year
what they used or knew about.  Not much came to light, so I ended up
writing something of my own.

It's a shell script I've been using on Linux with only trivial changes
since December.  The one tricky part was dealing with lines in the
results file that are identical.  I made the rash assumption that the
relative order wouldn't change between runs and that seems to hold.  The
script works well although it isn't blazingly fast.

My current version is attached.  If others find it useful I can
contribute it.  Comments and suggestions are welcome.

Typical invocation is something like:
dg-cmp-results.sh -v "" gcc-20060328.sum gcc-20060510.sum |less
for the first variation in the files, or
dg-cmp-results.sh -v arm-sim gcc-20060328.sum gcc-20060510.sum |less
for a specific variation.

Cheers,
Jim.

-- 
Jim Lemke   jwlemke@wasabisystems.com   Orillia, Ontario

[-- Attachment #2: Type: application/x-shellscript, Size: 6646 bytes --]

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

end of thread, other threads:[~2006-06-03 12:35 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-31 18:13 comparing DejaGNU results James Lemke
2006-05-31 18:25 ` Joe Buck
2006-05-31 18:28   ` Jeffrey Law
2006-05-31 18:33     ` James Lemke
2006-05-31 18:45       ` Joe Buck
2006-06-01  0:56     ` Ben Elliston
2006-06-01  0:59       ` Andrew Pinski
2006-06-01  2:17       ` Mike Stump
2006-06-01  1:14 ` Jim Wilson
2006-06-01  2:43 ` Mike Stump
2006-06-01  8:46   ` Richard Earnshaw
2006-06-01 17:27     ` Mike Stump
2006-06-01 19:35   ` James Lemke
2006-06-01 20:26     ` James Lemke
2006-06-01 20:36       ` Joseph S. Myers
2006-06-01 20:42         ` James Lemke
2006-06-02 18:08       ` James Lemke
2006-06-02 23:27         ` Mike Stump
2006-06-03 12:35           ` James Lemke
2006-06-01 19:44   ` James Lemke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).