[FORTRAN PATCH]: cleanup testcase temp files
Janis Johnson
janis187@us.ibm.com
Mon Mar 20 17:50:00 GMT 2006
On Sat, Mar 18, 2006 at 12:22:42PM -0800, Steve Kargl wrote:
> On Sat, Mar 18, 2006 at 12:49:42PM -0500, Kaveh R. Ghazi wrote:
> > > > Okay for mainline/4.1/4.0?
> > >
> > > This is ok for mainline and 4.1. 4.0 is virtually unsupported
> > > (too much do, too few hands :(
> >
> > Since I'm only tweeking testcases, I can't break the released
> > compiler. (The patch applies cleanly, except for testcases that don't
> > exist on that branch.)
> >
> > Can I do 4.0 also? Maybe after a week?
> >
> >
> > > The *.mod can be deleted. I don't know dejagnu well enough.
> > > Is a { dg-final { rm file.mod } }?
> > > Steve
> >
> > I'm not sure if we should use a fortran statement "call unlink" or a
> > dejagnu command. Maybe dg-final { cleanup-fortran-module "foo" }.
> >
> > Janis, what do you think? Can you help?
> >
>
> I think we'll need a dg-final { cleanup-fortran-module "foo" }.
> There are some/several compile only tests that contain only
> a module. We would need to make this "dg-do run" tests, which
> would make things run longer.
Like this, perhaps? It's been waiting for an OK from a Fortran
maintainer.
http://gcc.gnu.org/ml/gcc-patches/2005-12/msg00460.html
Janis
More information about the Gcc-patches
mailing list