Fortran testsuite?

Jeffrey A Law law@cygnus.com
Wed Oct 1 01:13:00 GMT 1997


  In message <199709170143.VAA00338@ahab.rutgers.edu>you write:
  > Is there some place I should put draft vesrions?  I have put what I
  > have so far on gate.gnu.ai.mit.edu in ~fortran/kate.  It unpacks to a
  > testsuite directory (get dejagnu, "runtest --tool g77").  I hardcoded
  > the path to /usr/local/bin/g77 and it doesn't get the right answer when
  > searching for "do" loops.  Naming of tests is quasi-random.  Also, I
  > get a fail on:
Well, it's a start.

The one question I currently have is what happens for an execute test
that looks like this:

      parameter (nmax=165000)
      double precision x(nmax)
      end

Does that have a well defined exit status?

Any objection to calling the directory something like g77.f-torture since
it's obviously based on c-torture :-)

Other g77 tests that don't use the same framework could go into a directory
like g77.foobar.

I'm going to play with this some more after I get back from vacation
(or maybe a litte tomorrow if I have time).   Seems like the biggest
issue is getting a "find_g77" proc into libgloss.  That should be
pretty simple.  Then we can start adding more tests!

Jeff



More information about the Gcc mailing list