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
This commit is contained in:
David Billinghurst 2005-06-17 06:50:32 +00:00 committed by David Billinghurst
parent fbe7e2f504
commit 3453c37fe3
2 changed files with 6 additions and 1 deletions

View File

@ -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,

View File

@ -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"