[rfc] Cleaning up .mod files from testsuite runs
Paul Brook
paul@codesourcery.com
Mon May 2 13:49:00 GMT 2005
On Monday 02 May 2005 08:02, François-Xavier Coudert wrote:
> > How do people feel about this? I can prepare a patch for the
> > other cases if people think it is worth doing.
>
> There are lots of testcases using modules, and will certainly be more in
> the future. Couldn't we add a general mechanism to do this (question is, is
> there any case where we have a .mod file that we'd like to keep after a
> testcase is run)?
It should be possible to modify the test harness to do this automatically by
grepping the source for "^module [a-z0-9_]*". I'd prefer this over adding
explicit annotations.
All the testcases are self-contained. ie. we can remove the module as soon as
that test has finished. Any two tests using a modue with the same name is a
[potential] bug.
Paul
More information about the Fortran
mailing list