public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ben Elliston <bje@au1.ibm.com>
To: java <java@gcc.gnu.org>
Subject: libjava testsuite nit
Date: Thu, 07 Aug 2008 23:30:00 -0000	[thread overview]
Message-ID: <1218151762.20048.2.camel@helios> (raw)

Hi.

I noticed that the libjava testsuite emits the full pathname of various
files in the test output (ie. the argument to dejagnu's
pass/fail/untested/etc. procedures).  Here are some examples:

PASS: /home/bje/source/gcc-nas/libjava/testsuite/libjava.jar/TestClosureGC.jar execution - gij test
PASS: /home/bje/source/gcc-nas/libjava/testsuite/libjava.jar/TestClosureGC.jar output - gij test
PASS: /home/bje/source/gcc-nas/libjava/testsuite/libjava.jar/simple.jar execution - gij test
PASS: /home/bje/source/gcc-nas/libjava/testsuite/libjava.jar/simple.jar output - gij test

The problem with this is that it confuses the contrib/compare_tests
script, because when you are comparing two builds from two different
source trees, the paths are different.  compare_tests gives output to
the effect that some tests have vanished and others have appeared out of
nowhere.

Would it be satisfactory to use Tcl's "file tail" command to lop off the
paths, leaving just the base filenames in the test output?  I'm just
wondering why it was done this way in the first place?

Thanks,
Ben

             reply	other threads:[~2008-08-07 23:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-07 23:30 Ben Elliston [this message]
     [not found] ` <7230133d0808080025p7edb7a17ree2e0c8efabfca8d@mail.gmail.com>
2008-08-08 11:09   ` Ben Elliston
2008-08-08 16:19     ` Tom Tromey

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=1218151762.20048.2.camel@helios \
    --to=bje@au1.ibm.com \
    --cc=java@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).