Home Contact Us Site Map  
 
       
    next up previous contents
Next: 3.17.2 Automated testing Up: 3.17 Testing Previous: 3.17 Testing   Contents

3.17.1 Using testreport

On many systems, the program can be run with the command:

% cd verification
% ./testreport -ieee
which will do the following:
  1. Locate all ``valid'' test directories. Here, valid tests are defined to be those directories within the current directory (which is generally verification) that contain a subdirectory and file with the names results/output.txt.

  2. Then within each valid test:
    1. run genmake2 to produce a Makefile
    2. build an executable
    3. run the executable
    4. compare and the output of the executable with the contents of certain variables within TESTNAME/results/output.txt
    5. print and, if requested (with the -addr=EMAIL_ADDRESS option), send a MIME-encoded email with the testing results

For further details, please see the MITgcm Developers' HOWTO at:

http://mitgcm.org/docs.html



mitgcm-support@dev.mitgcm.org
Copyright © 2002 Massachusetts Institute of Technology