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

3.7.1 Using testreport

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

% cd verification
% ./testreport
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/public/docs.html



mitgcm-support@mitgcm.org
Copyright © 2006 Massachusetts Institute of Technology Last update 2018-01-23