fortran-torture.exp (fortran-torture.exp): Catch error if file cannot be deleted.
authorDavid Billinghurst <David.Billinghurst@riotinto.com>
Thu, 28 Apr 2005 23:58:31 +0000 (23:58 +0000)
committerDavid Billinghurst <billingd@gcc.gnu.org>
Thu, 28 Apr 2005 23:58:31 +0000 (23:58 +0000)
2004-04-29  David Billinghurst (David.Billinghurst@riotinto.com)

* lib/fortran-torture.exp (fortran-torture.exp): Catch
error if file cannot be deleted.

From-SVN: r98949

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

index f02ae0f54274e66914ac9110c78a32ff469f3411..638c7fc7931183049a35ef7614db1596dadb695f 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 e47c2efa94a793a128484252f489864cf3a1cb12..8f6087c66bf8df19309aa14428c6a81293c823f2 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 ""