[qmtest] Fortran unit tests with QMTest, anyone doing them?

Neilen Marais nmarais at snowisp.com
Tue Apr 5 18:05:56 UTC 2005


Hi Stefan

On Tue, 2005-04-05 at 08:58 -0400, Stefan Seefeld wrote:Typically QMTest
would execute a compiler to generate the binary and then
> execute it with an 'exec'-like call, allowing the user to validate return
> value, as well as output on stdout/stderr.
> One of the advantages of such an 'indirect' test is robustness, as the
> qmtest process itself would not be compromized by crashes in any of the
> test binaries it executes.
> 
> We have been thinking about making the compilation more convenient, for
> example by letting users specify variables such as CC/CFLAGS/CLIBS/... or,
> in your case, F90/F90FlAGS/F90LIBS/.... Would that be helpful ?

Yes, that is what I have in mind. What I'd like is something that has a
similar interface to the curent python tests. IOW, the f90 code is
included in the test, and then QMTest automatically compiles/links it as
neccesary. 

Cheers
Neilen

> 
> Regards,
> 		Stefan




More information about the qmtest mailing list