diff options
| author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-27 12:21:56 +0000 |
|---|---|---|
| committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-27 12:21:56 +0000 |
| commit | 481d856f1c757d8fac2a781d610aeca7c4550337 (patch) | |
| tree | bdb33f28f00529578649f74ce56672231922d6c3 /libjava/testsuite/lib/libjava.exp | |
| parent | eb97588857a02642553d3b32e395c55babd2f7c1 (diff) | |
| download | ppe42-gcc-481d856f1c757d8fac2a781d610aeca7c4550337.tar.gz ppe42-gcc-481d856f1c757d8fac2a781d610aeca7c4550337.zip | |
gcc/testsuite:
* lib/g++.exp (g++_set_ld_library_path): Renamed to
${tool}_set_ld_library_path.
Changed caller.
* lib/objc.exp (${tool}_set_ld_library_path): New, copied from
g++.exp.
libjava/testsuite:
* lib/libjava.exp (${tool}_set_ld_library_path): New, copied from
g++.exp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44420 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite/lib/libjava.exp')
| -rw-r--r-- | libjava/testsuite/lib/libjava.exp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libjava/testsuite/lib/libjava.exp b/libjava/testsuite/lib/libjava.exp index ace5f6c2b2d..9b45f3c1666 100644 --- a/libjava/testsuite/lib/libjava.exp +++ b/libjava/testsuite/lib/libjava.exp @@ -787,6 +787,20 @@ proc default_libjava_version {} { proc default_libjava_start { } { } +# On IRIX 6, we have to set variables akin to LD_LIBRARY_PATH, but +# called LD_LIBRARYN32_PATH (for the N32 ABI) and LD_LIBRARY64_PATH +# (for the 64-bit ABI). The right way to do this would be to modify +# unix.exp -- but that's not an option since it's part of DejaGNU +# proper, so we do it here, by trickery. We really only need to do +# this on IRIX, but it shouldn't hurt to do it anywhere else. + +proc ${tool}_set_ld_library_path { name element op } { + setenv LD_LIBRARYN32_PATH [getenv LD_LIBRARY_PATH] + setenv LD_LIBRARY64_PATH [getenv LD_LIBRARY_PATH] +} + +trace variable env(LD_LIBRARY_PATH) w ${tool}_set_ld_library_path + # Local Variables: # tcl-indent-level:4 # End: |

