Changes between Version 18 and Version 19 of addnewNR


Ignore:
Timestamp:
10/15/19 21:36:00 (6 years ago)
Author:
jdquinn
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • addnewNR

    v18 v19  
    7171at the end of the file make sure to include `field_names`, `field_tolerances` and `field_values` the names (no space) of the fields you want to check for your test with the tolerances associated (because every computer is different).
    7272
    73 Run the following command to create the archive (the archive gives the reference values for all the fields that are checked):
     73Run the following command to create the archive (the archive gives the reference values for all the fields that are checked),
    7474{{{
    7575#!m
    7676>> runme('id',XXX,'procedure','update')
    7777}}}
    78 NOTE: The default benchmark used by the test driver is 'nightly', which includes only tests in the range 1-999. If you are manually running a test outside of this range, make sure to pass in the appropriate benchmark option.
     78
     79'''NOTE''': The default benchmark used by the test driver is 'nightly', which includes only tests in the range 1-999. If you are manually running a test outside of this range, make sure to pass in the appropriate benchmark option.
    7980
    8081This archive is located in `$ISSM_DIR/test/Archives` in binary format (.arch), and is the same for the Python test if you create one as well. Now if you run
     
    8788you should see SUCCESS everywhere. If not, you have to adjust the tolerances slightly.
    8889
    89 NB : do the same thing for `testXXX.py` without creating the archive this time.
     90'''Note:''' Do the same thing for `testXXX.py` without creating the archive this time.
    9091
    9192 === Checking in the new test ===
    92 
    93 You can `svn add` the new files (`testXXX.m`, `testXXX.py` and ArchiveXXX.arch) and `svn commit –m "NEW: added test to check ...”`.
     93In the case of a brand new test
     94{{{
     95svn add test/NightlyRun/testXXX.m test/NightlyRun/testXXX.py test/Archives/ArchiveXXX.arch
     96}}}
     97then,
     98{{{
     99svn commit –m "ADD: Added test to check ...”`
     100}}}
     101with an appropriate message. Otherwise you can simply update the archive and commit the changes.