Currently viewing
The tests are defined in an XML file named testlist.xml which should be present in the testsuite root directory. It typically is of the following structure

<?xml version="1.0" encoding="utf-8"?>
<testlist>

<!-- ******* General Test ******* -->

<test name="test_1" type="cosmo-clm">
<description>General check</description>
<executable>cosmo_cpu</executable>
<namelistdir>cosmo-clm/test_1</namelistdir>
<checker>run_success_check.py</checker>
<checker>existence_ncdf_out.sh</checker>
<checker>identical_check.py</checker >
<checker>samoa_check.sh</checker>
<autoparallel>1</autoparallel>
</test>

<!-- ******* Restart Test ******* -->

<test name="test_1r1" type="cosmo-clm">
<description>Restart Part1 0-48h</description>
<executable>cosmo_cpu</executable>
<namelistdir>cosmo-clm/test_1</namelistdir>
<refoutdir>../test_1</refoutdir>
<depend>../test_1</depend>
<checker>run_success_check.py</checker>
<changepar file="INPUT_IO" name="nhour_restart">24,24,24</changepar>
<autoparallel>1</autoparallel>
</test>

<test name="test_1r2" type="cosmo-clm">
<description>Restart Part2 24-48h</description>
<executable>cosmo_cpu</executable>
<namelistdir>cosmo-clm/test_1</namelistdir>
<refoutdir>../test_1</refoutdir>
<depend>../test_1</depend>
<checker>run_success_check.py</checker>
<checker>restart_identity.sh</checker>
<changepar file="INPUT_ORG" name="hstart">24</changepar>
<changepar file="INPUT_IO" name="ydir_restart">'../test_1r1/output/'</changepar>
<changepar file="INPUT_IO" name="ydirini">'../test_1r1/output/'</changepar>
<autoparallel>1</autoparallel>
</test>

<!-- ******* Decomposition Test ******* -->

<test name="test_1d" type="cosmo-clm">
<description>Decomposition test</description>
<executable>cosmo_cpu</executable>
<namelistdir>cosmo-clm/test_1</namelistdir>
<refoutdir>../test_1</refoutdir>
<depend>../test_1</depend>
<checker>run_success_check.py</checker>
<checker>existence_ncdf_out.sh</checker>
<checker>identical_check.py</checker >
<autoparallel>2</autoparallel>
</test>


</testlist>



For details on the specifications in the testlist.xml please read the user guide of the technical test suite that you can find in the directory $TSDIR/tts/doc.
 Currently viewing