Development

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Fix 21945 - gfortran testsuite dies on cygwin

    1 answers - 1573 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    The gfortran testsuite fails (for me) on cygwin with
    FAIL: gfortran.dg/forall_1.f90 execution test
    ERRR: tcl error sourcing /
    ERRR: rm: cannot remove `./forall_1.exe': Permission denied
    This seems to some sort of race condition, with dejagnu trying to delete the
    executable before the S has quite finished dumping it.
    A similar problem was solved in April with
    More generally, there are several occurrences of "remote_file build delete"
    in the testsuite code. Should we just wrap them all with a catch now,
    and be done with it.
    2005-06-07 David Billinghurst <David.Billinghurst (AT) riotinto (DOT) com>
    PR testsuite/21945
    * lib/gcc-dg.exp (gcc-dg-test-1): Catch error if file cannot be deleted.
    diff -u -r1.54 gcc-dg.exp
    gcc-dg.exp 24 May 2005 21:27:37 -0000 1.54
    gcc-dg.exp 7 Jun 2005 00:06:38 -0000
    @@ -122,7 +122,7 @@
    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 {
    NTICE
    This e-mail and any attachments are private and confidential and may contain privileged information. If you are not an authorised recipient, the copying or distribution of this e-mail and any attachments is prohibited and you must not read, print or act in reliance on this e-mail or attachments.
    This notice should not be removed.
  • No.1 | | 296 bytes | |

    Tue, Jun 07, 2005 at 10:30:41AM +1000, Billinghurst, David (CALCRTS) wrote:
    2005-06-07 David Billinghurst <David.Billinghurst (AT) riotinto (DOT) com>
    PR testsuite/21945
    * lib/gcc-dg.exp (gcc-dg-test-1): Catch error if file cannot be deleted.
    K.
    Janis

Re: Fix 21945 - gfortran testsuite dies on cygwin


max 4000 letters.
Your nickname that display:
In order to stop the spam: 2 + 2 =
QUESTION ON "Development"

EMSDN.COM