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
+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)
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"