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: gfortran.dg testsuite patch (committed)


Paul suggested that I should also allow '.[fF]95' as suffixes, so I
chose to use a wildcard again. Verified that the wildcard works,
installed as below.

- Tobi


Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/ChangeLog,v
retrieving revision 1.3968
diff -u -r1.3968 ChangeLog
--- ChangeLog   9 Jul 2004 15:29:45 -0000       1.3968
+++ ChangeLog   9 Jul 2004 15:46:13 -0000
@@ -1,3 +1,9 @@
+2004-07-09  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
+       Paul Brook  <paul@codesourcery.com>
+
+       * gfortran.dg/dg.exp: Use revised wilcard for suffixes, also allow
+       '.f95' and '.F95'.
+
 2004-07-09  Diego Novillo  <dnovillo@redhat.com>

        * gcc.dg/tree-ssa/20031015-1.c: Adjust expected dump file name.
Index: gfortran.dg/dg.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gfortran.dg/dg.exp,v
retrieving revision 1.2
diff -u -r1.2 dg.exp
--- gfortran.dg/dg.exp  9 Jul 2004 15:20:43 -0000       1.2
+++ gfortran.dg/dg.exp  9 Jul 2004 15:46:13 -0000
@@ -29,23 +29,12 @@
 dg-init

 # Main loop.
-gfortran-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.f ] ]\
-       $DEFAULT_FFLAGS
+gfortran-dg-runtest [lsort \
+       [glob -nocomplain $srcdir/$subdir/*.\[fF\]{,90,95} ] ]
$DEFAULT_FFLAGS

-gfortran-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.F ] ]\
-       $DEFAULT_FFLAGS
+gfortran-dg-runtest [lsort \
+       [glob -nocomplain $srcdir/$subdir/g77/*.\[fF\] ] ] $DEFAULT_FFLAGS

-gfortran-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.f90 ] ]\
-       $DEFAULT_FFLAGS
-
-gfortran-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.F90 ] ]\
-       $DEFAULT_FFLAGS
-
-gfortran-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/g77/*.f ] ] \
-       $DEFAULT_FFLAGS
-
-gfortran-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/g77/*.F ] ] \
-       $DEFAULT_FFLAGS

 # All done.
 dg-finish


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