Bounds-checking for Fortran testsuite was: Re: [gfortran, testsuite] Fix bounds checking for substrings, enable bounds chekcing in dg testsuite, assorted fixes

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Wed Dec 13 15:26:00 GMT 2006


Andrew Pinski <pinskia@gmail.com> wrote on Wed, 13 Dec 2006:
>> With this patch gfortran passes the testsuite with no unexpected
>> failures on i386-darwin, provided my workaround for PR 29516 is in
>> place.
>
> This breaks gfortran testing on powerpc-darwin:
> ERROR: (DejaGnu) proc "is-effective-target powerpc_altivec_ok" does not
> exist.
> The error code is NONE
> The info on the error is:
> no files matched glob pattern
> "/Users/pinskia/src/trunk/gcc/gcc/testsuite/gfortran.fortran-torture/gfortran*"
>     while executing
> "glob   
> /Users/pinskia/src/trunk/gcc/gcc/testsuite/gfortran.fortran-torture/gfortran*"
>     invoked from within
> "catch "glob ${path}/${pattern}" tmp"

My Tcl-fu is nil, but does this patch fix it?

Index: lib/fortran-torture.exp
===================================================================
--- lib/fortran-torture.exp     (revision 119797)
+++ lib/fortran-torture.exp     (working copy)
@@ -20,6 +20,7 @@
  # This file was written by Steven Bosscher (s.bosscher@student.tudelft.nl)
  # based on f-torture.exp, which was written by Rob Savoye.

+load_lib target-supports.exp

  # The default option list can be overridden by
  # TORTURE_OPTIONS="{ { list1 } ... { listN } }"

Sorry for the breakage,
- Tobi


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the Fortran mailing list