diff options
author | Tom Tromey <tromey@redhat.com> | 2003-01-13 00:22:20 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2003-01-13 00:22:20 +0000 |
commit | 6b8c5489303211e54834e85eb0c5fdc5d90e813a (patch) | |
tree | 931755ba538c10a80231b5e1d84c4c62fe325abd /libjava/testsuite/lib | |
parent | 8fa1ad0e6a073ff581090e2eb9658af2b7fb873a (diff) | |
download | gcc-6b8c5489303211e54834e85eb0c5fdc5d90e813a.zip gcc-6b8c5489303211e54834e85eb0c5fdc5d90e813a.tar.gz gcc-6b8c5489303211e54834e85eb0c5fdc5d90e813a.tar.bz2 |
re PR libgcj/9139 (mauve tests require installation)
Fix for PR libgcj/9139:
* lib/libjava.exp (find_javac): Put value of libgcj_jar into
return value when gcj is used.
* libjava.mauve/mauve.exp (test_mauve): Use libgcj_jar global.
From-SVN: r61237
Diffstat (limited to 'libjava/testsuite/lib')
-rw-r--r-- | libjava/testsuite/lib/libjava.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp index a807c4c..9c8e664 100644 --- a/libjava/testsuite/lib/libjava.exp +++ b/libjava/testsuite/lib/libjava.exp @@ -1,4 +1,4 @@ -# Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation +# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation load_lib "libgloss.exp" @@ -74,7 +74,7 @@ proc find_gcjh {} { } proc find_javac {} { - global SUN_JAVAC GCJ_UNDER_TEST env + global SUN_JAVAC GCJ_UNDER_TEST env libgcj_jar # If JDK doesn't run on your platform but some other # JDK-compatible javac does, you may set SUN_JAVAC to point to it. # One of the most important properties of a SUN_JAVAC is that it @@ -87,7 +87,7 @@ proc find_javac {} { if {[info exists env(SUN_JAVAC)]} { set SUN_JAVAC $env(SUN_JAVAC) } else { - set SUN_JAVAC "$GCJ_UNDER_TEST -C" + set SUN_JAVAC "$GCJ_UNDER_TEST -C -I$libgcj_jar" } } return $SUN_JAVAC |