This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, testsuite, committed] Clean up gfortran.dg leftover module files.


On Tue, Mar 27, 2007 at 06:54:23PM +0200, Bernhard Fischer wrote:
>On Mon, Mar 26, 2007 at 10:28:40PM +0200, FX Coudert wrote:
>>>There are still a lot of module files left over from running  
>>>gfortran.fortran-torture, since (as Kaveh pointed out) that doesn't  
>>>recognize dg-final directives.  I've got a patch that adds the  
>>>directives, but not one for recognizing them yet....
>>
>>I'm wondering why we don't simply incorporate all these tests in the  
>>gfortran.dg framework. It's rather easy to do, we just need to add  
>>the compile tests a { dg-do compile } line, and the execution tests  
>>both { dg-do run } and { dg-options "-w" }. There are a few special  
>>cases (the execution tests associated to a .x file), but nothing too  
>>difficult. We could even move them into subdirectory so we don't mix  
>>everything.
>
>Short of teaching dejagnu to automagically rm all .mod by scanning the
>input for 'module [procedure] name', perhaps a quick script like the
>attached would ease the handling of those?
>
>Something for contrib/, perhaps?
>Just a thought..

And it helps to send the correct version too.. Sorry for that

Attachment: gfortran.dg-final.cleanup-mods.awk
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]