diff options
author | David Billinghurst <David.Billinghurst@riotinto.com> | 2005-12-01 23:57:28 +0000 |
---|---|---|
committer | David Billinghurst <billingd@gcc.gnu.org> | 2005-12-01 23:57:28 +0000 |
commit | 8e28929764e79316011b9b84d4e78665a89aa548 (patch) | |
tree | 305f9e25b503d2c6e872809b52f1155e65fc2628 /libstdc++-v3 | |
parent | 36686ad6c0018b2f17eabe9d5578530b7661b964 (diff) | |
download | gcc-8e28929764e79316011b9b84d4e78665a89aa548.zip gcc-8e28929764e79316011b9b84d4e78665a89aa548.tar.gz gcc-8e28929764e79316011b9b84d4e78665a89aa548.tar.bz2 |
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
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/lib/libstdc++.exp | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d0f773d..de206f6 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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) diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index ee5111d..0a76734 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -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" |