aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Billinghurst <David.Billinghurst@riotinto.com>2005-06-17 06:50:32 +0000
committerDavid Billinghurst <billingd@gcc.gnu.org>2005-06-17 06:50:32 +0000
commit3453c37fe3e47c3cc82fab9204824a7a3aae9bda (patch)
tree3cf5553e232b15f7e238c1269e401c21ab400a2d /gcc
parentfbe7e2f5049874ae13b1366b69f79a1a6766b9b2 (diff)
downloadgcc-3453c37fe3e47c3cc82fab9204824a7a3aae9bda.zip
gcc-3453c37fe3e47c3cc82fab9204824a7a3aae9bda.tar.gz
gcc-3453c37fe3e47c3cc82fab9204824a7a3aae9bda.tar.bz2
re PR testsuite/21945 (gfortran testsuite dies on cygwin (again))
2005-06-07 David Billinghurst <David.Billinghurst@riotinto.com> PR testsuite/21945 * lib/gcc-dg.exp (gcc-dg-test-1): Catch error if file can't be deleted. From-SVN: r101124
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/gcc-dg.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d6b5619..eb3768b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2005-06-07 David Billinghurst <David.Billinghurst@riotinto.com>
+
+ PR testsuite/21945
+ * lib/gcc-dg.exp (gcc-dg-test-1): Catch error if file can't be deleted.
+
2005-06-15 Giovanni Bajo <giovannibajo@libero.it>
* gcc.dg/vect/vect-dv-2.c, gcc.dg/vect/vect-ifcvt-2.c,
diff --git a/gcc/testsuite/lib/gcc-dg.exp b/gcc/testsuite/lib/gcc-dg.exp
index ab2f189..9a1e612 100644
--- a/gcc/testsuite/lib/gcc-dg.exp
+++ b/gcc/testsuite/lib/gcc-dg.exp
@@ -122,7 +122,7 @@ proc gcc-dg-test-1 { target_compile prog do_what extra_tool_flags } {
set output_file "./[file rootname [file tail $prog]].exe"
# This is the only place where we care if an executable was
# created or not. If it was, dg.exp will try to run it.
- remote_file build delete $output_file
+ catch { remote_file build delete $output_file }
}
default {
perror "$do_what: not a valid dg-do keyword"