aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.jacks
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2003-08-04 22:07:06 +0000
committerTom Tromey <tromey@gcc.gnu.org>2003-08-04 22:07:06 +0000
commit29019803327d246f686bcc22d9d95b0e3cdc244d (patch)
tree917f261ae694415a255c996c1bb0c6d79a1519d0 /libjava/testsuite/libjava.jacks
parent66fe55d120b36a2fc0753d26acb903667edecdd6 (diff)
downloadgcc-29019803327d246f686bcc22d9d95b0e3cdc244d.zip
gcc-29019803327d246f686bcc22d9d95b0e3cdc244d.tar.gz
gcc-29019803327d246f686bcc22d9d95b0e3cdc244d.tar.bz2
jacks.exp (gcj_jacks_run): Just ignore errors from jacks.
* libjava.jacks/jacks.exp (gcj_jacks_run): Just ignore errors from jacks. From-SVN: r70157
Diffstat (limited to 'libjava/testsuite/libjava.jacks')
-rw-r--r--libjava/testsuite/libjava.jacks/jacks.exp11
1 files changed, 4 insertions, 7 deletions
diff --git a/libjava/testsuite/libjava.jacks/jacks.exp b/libjava/testsuite/libjava.jacks/jacks.exp
index d8611f5..8b2bd9b 100644
--- a/libjava/testsuite/libjava.jacks/jacks.exp
+++ b/libjava/testsuite/libjava.jacks/jacks.exp
@@ -89,14 +89,11 @@ proc gcj_jacks_run {} {
gcj_jacks_write gcj_setup
verbose "Running Jacks..."
- if {[catch {exec ./jacks gcj} msg]} {
- verbose "jacks invocation failure: $msg"
- fail "running jacks"
- } else {
- pass "running jacks"
+ # Just ignore error exits from the jacks program.
+ # It will always error exit for us, since don't completely pass.
+ catch {exec ./jacks gcj} msg
- gcj_jacks_parse logging/gcj.log
- }
+ gcj_jacks_parse logging/gcj.log
cd $here
}