diff options
author | Andreas Jaeger <aj@gcc.gnu.org> | 2004-12-31 13:34:18 +0100 |
---|---|---|
committer | Andreas Jaeger <aj@gcc.gnu.org> | 2004-12-31 13:34:18 +0100 |
commit | 8c8a5f7c8e5c0e05d38272f09bee1ec442a3d2cc (patch) | |
tree | 2cd1a669893d1147dd4a674085c36e9c0c8af9c4 /libjava/testsuite/lib | |
parent | 223947a954a6e1faebff4cbac7f19c7b6e4fa824 (diff) | |
download | gcc-8c8a5f7c8e5c0e05d38272f09bee1ec442a3d2cc.zip gcc-8c8a5f7c8e5c0e05d38272f09bee1ec442a3d2cc.tar.gz gcc-8c8a5f7c8e5c0e05d38272f09bee1ec442a3d2cc.tar.bz2 |
* testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs.
From-SVN: r92758
Diffstat (limited to 'libjava/testsuite/lib')
-rw-r--r-- | libjava/testsuite/lib/libjava.exp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp index 71fffc5..443259d 100644 --- a/libjava/testsuite/lib/libjava.exp +++ b/libjava/testsuite/lib/libjava.exp @@ -277,10 +277,11 @@ proc libjava_find_spec {} { proc libjava_find_gij {} { global base_dir objdir - if {! [file exists $objdir/../gij]} { + set gijdir [lookfor_file [get_multilibs] libjava]; + if {! [file exists $gijdir/gij]} { return "" } - return $objdir/../gij + return $gijdir/gij } # Remove a bunch of files. |