This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

[patch,fortran,committed] Fix two regression tests by adding -fmax-errors=


As written in previous emails the two tests

  FAIL: gfortran.dg/io_constraints_3.f90  -O  (test for excess errors)

and

  FAIL: gfortran.dg/gomp/reduction1.f90  -O   (test for errors, line 100)

fail as they emit more than 25 errors.

The shouldfail is seemingly not needed if dg-error is specified. (I was wrong, sorry.)


Commit the following as obvious.

Tobias


Index: gcc/testsuite/ChangeLog
===================================================================
--- gcc/testsuite/ChangeLog     (Revision 118618)
+++ gcc/testsuite/ChangeLog     (Arbeitskopie)
@@ -1,3 +1,8 @@
+2006-11-09  Tobias Burnus  <burnus@net-b.de>
+
+       * gfortran.dg/io_constraints_3.f90: Fixed by using -fmax-errors.
+       * gfortran.dg/gomp/reduction1.f90: Fixed by using -fmax-errors.
+
 2006-11-08  Zdenek Dvorak <dvorakz@suse.cz>

        * gcc.dg/tree-ssa/ssa-ccp-14.c: New test.
Index: gcc/testsuite/gfortran.dg/io_constraints_3.f90
===================================================================
--- gcc/testsuite/gfortran.dg/io_constraints_3.f90      (Revision 118618)
+++ gcc/testsuite/gfortran.dg/io_constraints_3.f90      (Arbeitskopie)
@@ -2,7 +2,7 @@
 ! Contributed by Francois-Xavier Coudert (coudert@clipper.ens.fr)
 !
 ! { dg-do compile }
-! { dg-options "-ffree-line-length-none -pedantic" }
+! { dg-options "-ffree-line-length-none -pedantic -fmax-errors=50" }
   integer,parameter :: mone = -1, zero = 0
   character(len=*),parameter :: foo = "foo"
   character(len=20) :: str
Index: gcc/testsuite/gfortran.dg/gomp/reduction1.f90
===================================================================
--- gcc/testsuite/gfortran.dg/gomp/reduction1.f90       (Revision 118618)
+++ gcc/testsuite/gfortran.dg/gomp/reduction1.f90       (Arbeitskopie)
@@ -1,4 +1,5 @@
 ! { dg-do compile }
+! { dg-options "-fopenmp -fmax-errors=100" }
 ! { dg-require-effective-target tls }

 subroutine foo (ia1)



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