diff options
author | Carlo Wood <carlo@runaway.xs4all.nl> | 1998-06-28 01:01:02 +0200 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-06-27 17:01:02 -0600 |
commit | 442b2e8635a8cb124d3f5ec6ab2ac8d55a109438 (patch) | |
tree | 225574f14263b070e94495f01771e07e4e34f5e7 /libio | |
parent | f89223a97823afeaede0aa446759a1c82ebfd396 (diff) | |
download | gcc-442b2e8635a8cb124d3f5ec6ab2ac8d55a109438.tar.gz |
libio.exp (test_libio): Reset ld_library_path before appending the same path(s) again.
* lib/libio.exp (test_libio): Reset ld_library_path before appending
the same path(s) again.
From-SVN: r20767
Diffstat (limited to 'libio')
-rw-r--r-- | libio/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | libio/testsuite/lib/libio.exp | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/libio/testsuite/ChangeLog b/libio/testsuite/ChangeLog index 0c443afb34b..bd3f2887205 100644 --- a/libio/testsuite/ChangeLog +++ b/libio/testsuite/ChangeLog @@ -1,3 +1,8 @@ +Sat Jun 27 23:59:35 1998 Carlo Wood <carlo@runaway.xs4all.nl> + + * lib/libio.exp (test_libio): Reset ld_library_path before appending + the same path(s) again. + Sat Sep 6 00:49:31 1997 Brendan Kehoe <brendan@lisa.cygnus.com> * lib/libio.exp (test_libio): Lose -L.. before -lio, may as well diff --git a/libio/testsuite/lib/libio.exp b/libio/testsuite/lib/libio.exp index 71639e18173..d9f01b449fc 100644 --- a/libio/testsuite/lib/libio.exp +++ b/libio/testsuite/lib/libio.exp @@ -48,13 +48,15 @@ proc test_libio { srcfile compile_args inpfile resultfile exec_args } { global LIBIO global srcdir subdir objdir global TOOL_OPTIONS - global wrapper_file wrap_compile_flags; + global wrapper_file wrap_compile_flags + global ld_library_path if { $inpfile != "" } { set inpfile "$srcdir/../tests/$inpfile" } set args "" + set ld_library_path "" lappend args "additional_flags=-O3"; lappend args "additional_flags=-I.. -I$srcdir/.." lappend args "additional_flags=$wrap_compile_flags"; |