Interesting gotcha with test cases

Jerry DeLisle jvdelisle@frontier.com
Tue Feb 22 05:24:00 GMT 2011


Hi,

I just discovered a problem.

With fmt_f0_1.f90, the dejagnu directive is:

! { dg-do run )   notice the right paren and not right curly brace.

The result is:

		=== gfortran Summary ===

# of expected passes		8

The test case actually has run time failures in it. We get a false PASS on this 
probably because it is only doing compile tests.

We also have this with array_function_5.f90 thought it is a good test case.  I 
am working on the bad test case, but I think we need to fix the testsuite 
drivers to fail on this sort of typo.

Fortunately I am the only one to do this with a test case.  :)

Regards,

Jerry



More information about the Fortran mailing list