re PR testsuite/25193 (libstdc++ testsuite fails on cygwin)

2005-12-02  David Billinghurst (David.Billinghurst@riotinto.com)

	PR testsuite/25193
	* testsuite/lib/libstdc++.exp (libstdc++-dg-test): Catch
	error if file cannot be deleted.

From-SVN: r107841
This commit is contained in:
David Billinghurst 2005-12-01 23:57:28 +00:00 committed by David Billinghurst
parent 36686ad6c0
commit 8e28929764
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-12-02 David Billinghurst (David.Billinghurst@riotinto.com)
PR testsuite/25193
* testsuite/lib/libstdc++.exp (libstdc++-dg-test): Catch
error if file cannot be deleted.
2005-11-23 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/24975 (basic_string)

View File

@ -264,7 +264,7 @@ proc libstdc++-dg-test { 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"