[FORTRAN PATCH]: cleanup testcase temp files

Steve Kargl sgk@troutmask.apl.washington.edu
Sat Mar 18 20:22:00 GMT 2006


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.

-- 
Steve



More information about the Fortran mailing list