Changes between Version 11 and Version 12 of addnewNR


Ignore:
Timestamp:
05/07/18 13:50:53 (7 years ago)
Author:
Mathieu Morlighem
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • addnewNR

    v11 v12  
    3030- 3000-3999: "ADOLC" series
    3131
     32Go to `test/NightlyRun`. To run a test without checking whether it worked or not, just type: `testxxx` in MATLAB, where `xxx` is the test number. To check whether the results of that test are still consistent with the archive:
     33
     34{{{
     35#!m
     36>> runme('id',XXX)
     37}}}
     38
     39For tests that are >1000, you will need to specify that you want to use all the benchmarks:
     40
     41{{{
     42#!m
     43>> runme('id',XXX,'benchmark','all')
     44}}}
     45
     46If you would like to test a specific feature, you can use the function `IdFromString`. For example, if you would like to run all the tests that involve dakota:
     47
     48{{{
     49#!m
     50>> runme('id',IdFromString('Dakota'))
     51}}}
     52
     53You should see a list of `SUCCESS`. In very rare cases, you get an `ERROR` that requires to update the tolerance. Check with developers before changing the tolerance though.
     54
    3255 == Adding a new test ==
    33  = Files to change/create =
     56
     57 === Files to change/create ===
    3458
    3559You must create a new test file in `test/NightlyRun`. Make sure to be consistent with the series above.
     
    5983NB : do the same thing for `testXXX.py`  without creating the archive this time.
    6084
    61  = Checking in the new test =
     85 === Checking in the new test ===
    6286
    6387You can `svn add` the new files (`testXXX.m`, `testXXX.py` and archiveXXX.nc) and `svn commit –m "NEW: added test to check ...”`.