Changes between Version 18 and Version 19 of addnewNR
- Timestamp:
- 10/15/19 21:36:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
addnewNR
v18 v19 71 71 at 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). 72 72 73 Run the following command to create the archive (the archive gives the reference values for all the fields that are checked) :73 Run the following command to create the archive (the archive gives the reference values for all the fields that are checked), 74 74 {{{ 75 75 #!m 76 76 >> runme('id',XXX,'procedure','update') 77 77 }}} 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. 79 80 80 81 This 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 … … 87 88 you should see SUCCESS everywhere. If not, you have to adjust the tolerances slightly. 88 89 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. 90 91 91 92 === 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 ...”`. 93 In the case of a brand new test 94 {{{ 95 svn add test/NightlyRun/testXXX.m test/NightlyRun/testXXX.py test/Archives/ArchiveXXX.arch 96 }}} 97 then, 98 {{{ 99 svn commit –m "ADD: Added test to check ...”` 100 }}} 101 with an appropriate message. Otherwise you can simply update the archive and commit the changes.