From 442b2e8635a8cb124d3f5ec6ab2ac8d55a109438 Mon Sep 17 00:00:00 2001 From: Carlo Wood Date: Sun, 28 Jun 1998 01:01:02 +0200 Subject: [PATCH] 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 --- libio/testsuite/ChangeLog | 5 +++++ libio/testsuite/lib/libio.exp | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + * 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 * 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";