diff options
author | billingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-01 23:57:28 +0000 |
---|---|---|
committer | billingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-01 23:57:28 +0000 |
commit | 023af126f87ed5071a27caeb7a6b0f93116a90f2 (patch) | |
tree | 305f9e25b503d2c6e872809b52f1155e65fc2628 /libstdc++-v3 | |
parent | e0ea74834d6a7cce32981e249b0452f766a6e2e5 (diff) | |
download | ppe42-gcc-023af126f87ed5071a27caeb7a6b0f93116a90f2.tar.gz ppe42-gcc-023af126f87ed5071a27caeb7a6b0f93116a90f2.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107841 138bc75d-0d04-0410-961f-82ee72b054a4
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 d0f773dfb58..de206f6ef44 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 ee5111dfaf9..0a76734d62b 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" |