This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35015] New: missing cleanup-modules directive in testsuite/gfortran*
- From: "aldot at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2008 14:10:15 -0000
- Subject: [Bug fortran/35015] New: missing cleanup-modules directive in testsuite/gfortran*
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ wget -P gcc/contrib/ \
http://uclibc.org/~aldot/gcc/gfortran.dg-final.cleanup-mods.awk
$ chmod +x gcc/contrib/gfortran.dg-final.cleanup-mods.awk
$ cd gcc/testsuite
$ $ for i in $(grep --exclude='*.svn*' -rl dg-do gfortran*); do
../contrib/gfortran.dg-final.cleanup-mods.awk $i;done 2> /dev/null
This scripts emits on stdout a diagnostic message about
a) wrong encoding in testcases (CRLF)
b) missing cleanup-module directives
On stderr, this scripts emits sed scripts to automagically
a) fix the wrong encoding
b) add missing cleanup-module directives.
I put it into public domain, but this can be changes if required.
IMHO it would be handy to have this script in gcc/contrib
--
Summary: missing cleanup-modules directive in testsuite/gfortran*
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: aldot at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35015