OSDN Git Service

2004-04-29 David Billinghurst (David.Billinghurst@riotinto.com)
authorbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Apr 2005 23:58:31 +0000 (23:58 +0000)
committerbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Apr 2005 23:58:31 +0000 (23:58 +0000)
* lib/fortran-torture.exp (fortran-torture.exp): Catch
error if file cannot be deleted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98949 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/lib/fortran-torture.exp

index f02ae0f..638c7fc 100644 (file)
@@ -1,3 +1,8 @@
+2004-04-29  David Billinghurst (David.Billinghurst@riotinto.com)
+
+       * lib/fortran-torture.exp (fortran-torture.exp): Catch
+       error if file cannot be deleted.
+
 2005-04-28  Kazu Hirata  <kazu@cs.umass.edu>
 
        * g++.dg/tree-ssa/pr18178.C, gcc.dg/tree-ssa/20030821-1.c,
index e47c2ef..8f6087c 100644 (file)
@@ -180,7 +180,7 @@ proc fortran-torture-execute { src } {
        # exist.  If not, the testcase should XFAIL.
 
        # Compile the testcase.
-       remote_file build delete $executable
+       catch { remote_file build delete $executable }
        verbose "Testing $testcase, $option" 1
 
        set options ""