This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH applied fix fallout fron Janis 2004-05-28 patch for target-supports.exp
- From: Graham Stott <graham dot stott at btinternet dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 30 May 2004 18:52:11 +0100
- Subject: PATCH applied fix fallout fron Janis 2004-05-28 patch for target-supports.exp
All,
I have applied the following patch as obvious to fix the errors
"ERROR: ./tmp.x does not exist in unix_load."
which were introduced in Janis 2004-05-28 patch.
Graham
2004-05-30 Graham Stott <graham.stott@btinternet.com>
* lib/target-supports.exp (check_iconv_available): Fix fallout
from 2004-05-28 patch.
---------------------------------------------------------------------------
Index: target-supports.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/lib/target-supports.exp,v
retrieving revision 1.19
diff -c -p -r1.19 target-supports.exp
*** target-supports.exp 28 May 2004 22:31:44 -0000 1.19
--- target-supports.exp 30 May 2004 17:44:40 -0000
*************** proc check_iconv_available { test_what }
*** 239,251 ****
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 status [lindex $result 0];
verbose "check_iconv_available status is <$status>" 2
--- 239,251 ----
set lines [${tool}_target_compile $src $exe executable "libs=$libiconv" ]
file delete $src
if [string match "" $lines] then {
# No error messages, everything is OK.
! set result [${tool}_load "./$exe" "" ""]
set status [lindex $result 0];
+ remote_file build delete $exe
verbose "check_iconv_available status is <$status>" 2
-----------------------------------------------------------------------------