Library testsuite
FX Coudert
fxcoudert@gmail.com
Tue Feb 13 01:18:00 GMT 2007
I'll just ask a silly question:
> I divided the libgfortran testsuite into two subdirectories [...]
> the tests in intrinsics cycle through the usual set of options.
If the tests in intrinsics are supposed to cover intrinsics for which
code is emitted directly by the front-end, why are we having them in
the library testsuite rather than the front-end testsuite?
Here's what I was thinking of:
1. put all I/O tests in an I/O directory in the libgfortran testsuite
2. create also a intrinsics directory, which is run with only one
optimization level, and
3. we clearly document the difference, and start moving stuff from
gfortran.dg to the libgfortran testsuite slowly, by taking care of
whether the test is actually testing front-end emitted code or rather
library calls
4. exercise same care when deciding where a new test will end up
Phase 3 can take some time, but it's OK because it will only take a
little more time than ideal, but we won't be laking testsuite coverage.
FX, who's writing a lot, but it's past 2am and I'm fed up with
writing my thesis :)
More information about the Fortran
mailing list