This is the mail archive of the gcc-bugs@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]

[Bug fortran/35015] missing cleanup-modules directive in testsuite/gfortran*



------- Comment #1 from burnus at gcc dot gnu dot org  2008-01-29 15:36 -------
> This scripts emits on stdout a diagnostic message about
> a) wrong encoding in testcases (CRLF)

I think it is OK to mix \n and \r\n in the test suite as both should work. In
principle "\r" (old Mac files) should work as well, but seemingly no one has
requested this (-> currently unimplemented).
Thus I strongly advice against having only "\n" files.

> b) add missing cleanup-module directives.
> $ for i in $(grep --exclude='*.svn*' -rl dg-do gfortran*); do
> ../contrib/gfortran.dg-final.cleanup-mods.awk $i;done 2> /dev/null

This will find also those which are "dg-do compile" where no .mod is produced
("dg-error" in MODULE) and misses those which do not contain "dg-do compile" as
this is the default value.

But in any case the script is useful.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35015


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