[MITgcm-support] "multiple tests" for testreport

Ed Hill ed at eh3.com
Thu Mar 11 22:14:27 EST 2004


Hi folks,

Based on discussions with JMC and AJA, I've modified testreport so that
one can create multiple (similar) tests for each directory within
verification.  The idea is that input files can be shared between
similar tests.

The way it works is that directories within verification will have
multiple tests run if they meet the following criteria:

  1) the test dir must contain a "build" directory

  2) the test dir must contain one or more extra "input" 
     directories each with names of the format "input.*" 
     (eg. input.alt_bathy, input.alt_forcing, etc.)

  3) the test dir must contain one or more extra "output" 
     files in the format "results/output.txt.*" where the 
     extension on each file matches each of the extensions 
     on the input.* dir names

So an example would be:

  exp0/input                  <== standard/shared input files 
  exp0/input.ex               <== extra and/or modif inputs
  exp0/results/output.txt.ex  <== results for the ".ex" case

Please let me know if you have any ideas for improvements.  JMC said he
would soon check in some examples to demonstrate it.  And attached is an
example of the output it generates.

Ed


-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Room 54-1424;  77 Massachusetts Ave.
            Cambridge, MA 02139-4307
email:   eh3 at mit.edu,  ed at eh3.com
URL:     http://web.mit.edu/eh3/
phone:   617-253-0098
fax:     617-253-4464
-------------- next part --------------


                T           S           U           V
G D M    c        m  s        m  s        m  s        m  s
E p a R  g  m  m  e  .  m  m  e  .  m  m  e  .  m  m  e  .
N n k u  2  i  a  a  d  i  a  a  d  i  a  a  d  i  a  a  d
2 d e n  d  n  x  n  .  n  x  n  .  n  x  n  .  n  x  n  .

Y Y Y Y 13 16 16 16 16 16 16 16 16 16 16 13 16 13 13 13 16 pass  exp0
Y Y Y Y 13 16 16 16 16 16 16 16 16 16 16 13 16 13 13 13 16 pass  exp0.new
Y Y Y Y 16 16 16 13 13 16 16 16 16 16 16 13 13 16 13 13 16 pass  exp1
Y Y Y Y 13 13 16 13 13 16 16 13 13 13 13 13 13 13 13 13 13 pass  exp2
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 13 13 16 16  0 16 pass  exp4
Y Y Y Y 13 16 16 12 11 16 16 11  0 16 13  5 12 16 16  5 12 pass  exp5
Start time:  Thu Mar 11 21:36:39 EST 2004
End time:    Thu Mar 11 21:42:54 EST 2004

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20040311/3da8adba/attachment.sig>


More information about the MITgcm-support mailing list