[rfc] Cleaning up .mod files from testsuite runs

Billinghurst, David (CALCRTS) david.billinghurst@comalco.riotinto.com.au
Mon May 2 06:25:00 GMT 2005


The cruft accumulating in the build testsuite directory is 
distracting me.  For the gfortran.dg tests we can delete 
module files with the dejagnu incantantion below.

How do people feel about this?  I can prepare a patch for the 
other cases if people think it is worth doing.

 
Index: contained_1.f90
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gfortran.dg/contained_1.f90,v
retrieving revision 1.1
diff -u -r1.1 contained_1.f90
--- contained_1.f90     11 Jul 2004 23:00:08 -0000      1.1
+++ contained_1.f90     2 May 2005 06:18:06 -0000
@@ -31,3 +31,5 @@
   call a
   if (i .ne. 1) call abort
 end program
+
+! { dg-final { remove-build-file "contained_1_mod.mod" } }


NOTICE
This e-mail and any attachments are private and confidential and may contain privileged information. If you are not an authorised recipient, the copying or distribution of this e-mail and any attachments is prohibited and you must not read, print or act in reliance on this e-mail or attachments.
This notice should not be removed.



More information about the Fortran mailing list