aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGraham Stott <graham.stott@btinternet.com>2004-05-30 17:51:46 +0000
committerGraham Stott <grahams@gcc.gnu.org>2004-05-30 17:51:46 +0000
commit0fb4f4b86ab649201b02f5ebac88b17a1ab1eb1a (patch)
tree40a348464630790c5669d23af1ef3af4175c4fcd /gcc
parent9471628798891a7bc2cf21721764520325630c9b (diff)
downloadgcc-0fb4f4b86ab649201b02f5ebac88b17a1ab1eb1a.zip
gcc-0fb4f4b86ab649201b02f5ebac88b17a1ab1eb1a.tar.gz
gcc-0fb4f4b86ab649201b02f5ebac88b17a1ab1eb1a.tar.bz2
target-supports.exp (check_iconv_available): Fix fallout from 2004-05-28 patch.
* lib/target-supports.exp (check_iconv_available): Fix fallout from 2004-05-28 patch. From-SVN: r82460
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/target-supports.exp4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 6d0c44b..6d5e0a5 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-30 Graham Stott <graham.stott@btinternet.com>
+
+ * lib/target-supports.exp (check_iconv_available): Fix fallout
+ from 2004-05-28 patch.
+
2004-05-30 Paul Brook <paul@codesourcery.com>
PR fortran/15620
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index aee7016..e23a8ec 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -239,13 +239,13 @@ proc check_iconv_available { test_what } {
set lines [${tool}_target_compile $src $exe executable "libs=$libiconv" ]
file delete $src
- remote_file build delete $exe
if [string match "" $lines] then {
# No error messages, everything is OK.
- set result [${tool}_load "./tmp.x" "" ""]
+ set result [${tool}_load "./$exe" "" ""]
set status [lindex $result 0];
+ remote_file build delete $exe
verbose "check_iconv_available status is <$status>" 2