This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Bounds-checking for Fortran testsuite was: Re: [gfortran, testsuite] Fix bounds checking for substrings, enable bounds chekcing in dg testsuite, assorted fixes
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Janis Johnson <janis187 at us dot ibm dot com>
- Cc: Andreas Tobler <toa at pop dot agri dot ch>, Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>, Andrew Pinski <pinskia at gmail dot com>, Dorit Nuzman <dorit at il dot ibm dot com>, janis187 at us dot bim dot com, Tobias Burnus <burnus at net-b dot de>, fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, Thomas Koenig <Thomas dot Koenig at online dot de>
- Date: Fri, 15 Dec 2006 17:24:34 -0800
- Subject: Re: Bounds-checking for Fortran testsuite was: Re: [gfortran, testsuite] Fix bounds checking for substrings, enable bounds chekcing in dg testsuite, assorted fixes
- References: <1166002100.4529.15.camel@celery.andrew.com> <20061213121306.gosdth4sg0wgw0wg@webmail.physik.uni-muenchen.de> <1166023587.4529.21.camel@celery.andrew.com> <20061213184519.zdrxjceg8w40cssc@webmail.physik.uni-muenchen.de> <20061213180436.GA4540@us.ibm.com> <4581D2DC.6010006@pop.agri.ch> <20061215001638.lpr5cs3dsg8wwsso@webmail.physik.uni-muenchen.de> <4581DE58.2010101@pop.agri.ch> <20061215010949.GA7969@us.ibm.com> <20061215233507.GA7280@us.ibm.com>
On Fri, Dec 15, 2006 at 03:35:07PM -0800, Janis Johnson wrote:
> On Thu, Dec 14, 2006 at 05:09:49PM -0800, Janis Johnson wrote:
> > On Fri, Dec 15, 2006 at 12:29:28AM +0100, Andreas Tobler wrote:
> > > Tobias Schlüter wrote:
> > > >Andreas Tobler <toa@pop.agri.ch> wrote on Thu, 14 Dec 2006:
> > > >>+load_lib gcc-dg.exp
> > > >> load_lib fortran-torture.exp
> > > >>-load_lib gcc-dg.exp
> > > >
> > > >Unfortunately, this will make gcc-dg's TORTURE_OPTIONS override
> > > >fortran-torture's.
> > >
> > > I did not say it's correct, I only stated, it helped here to continue
> > > testing. I continue to investigate.
> >
> > This is OK for now to get tests running again.
>
> Never mind, I checked in a different fix; see
> http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01141.html.
That message mentioned a problem with TORTURE_OPTIONS.
Most uses of TORTURE_OPTIONS throughout the testsuite use the list
defined in lib/gcc-dg.exp because that's the file that is loaded
first. For the Fortran tests it's loaded for the gfortran.dg tests,
and the variable keeps that definition for gfortran.fortran-torture.
If the torture tests are run alone (via RUNTESTFLAGS=whatever.exp)
then they get the list defined in fortran-torture.exp.
This patch fixes the Fortran tests to use the list defined in
fortran-torture.exp, but it's not yet fully tested. I'll test it
next week unless someone else beats me to it.
Janis
Index: gcc/testsuite/gfortran.dg/dg.exp
===================================================================
--- gcc/testsuite/gfortran.dg/dg.exp (revision 119939)
+++ gcc/testsuite/gfortran.dg/dg.exp (working copy)
@@ -17,6 +17,7 @@
# GCC testsuite that uses the `dg.exp' driver.
# Load support procs.
+load_lib fortran-torture.exp
load_lib gfortran-dg.exp
# If a testcase doesn't have special options, use these.
- References:
- Re: Bounds-checking for Fortran testsuite was: Re: [gfortran, testsuite] Fix bounds checking for substrings, enable bounds chekcing in dg testsuite, assorted fixes
- Re: Bounds-checking for Fortran testsuite was: Re: [gfortran, testsuite] Fix bounds checking for substrings, enable bounds chekcing in dg testsuite, assorted fixes
- Re: Bounds-checking for Fortran testsuite was: Re: [gfortran, testsuite] Fix bounds checking for substrings, enable bounds chekcing in dg testsuite, assorted fixes
- Re: Bounds-checking for Fortran testsuite was: Re: [gfortran, testsuite] Fix bounds checking for substrings, enable bounds chekcing in dg testsuite, assorted fixes
- Re: Bounds-checking for Fortran testsuite was: Re: [gfortran, testsuite] Fix bounds checking for substrings, enable bounds chekcing in dg testsuite, assorted fixes
- Re: Bounds-checking for Fortran testsuite was: Re: [gfortran, testsuite] Fix bounds checking for substrings, enable bounds chekcing in dg testsuite, assorted fixes
- Re: Bounds-checking for Fortran testsuite was: Re: [gfortran, testsuite] Fix bounds checking for substrings, enable bounds chekcing in dg testsuite, assorted fixes
- Re: Bounds-checking for Fortran testsuite was: Re: [gfortran, testsuite] Fix bounds checking for substrings, enable bounds chekcing in dg testsuite, assorted fixes
- Re: Bounds-checking for Fortran testsuite was: Re: [gfortran, testsuite] Fix bounds checking for substrings, enable bounds chekcing in dg testsuite, assorted fixes
- Re: Bounds-checking for Fortran testsuite was: Re: [gfortran, testsuite] Fix bounds checking for substrings, enable bounds chekcing in dg testsuite, assorted fixes