Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Adding a new test to acme_developer or integration

Under most situations, tests should be added to one of the acme categories.

  1. Edit <ACME>/cime/scripts-acme/lib/update_acme_tests.py
  2. You'll see a python dict at the top of the file called TEST_SUITES, find the test category you want to change in this dict and add your testcase to the list

  3. cd <ACME>/cime/scripts/Testing/Testlistxml
  4. ../../../scripts-acme/update_acme_tests ./testlist_allactive.xml

    .  Note the comment at the top of this file indicating that you add a test with this format: test>.<grid>.<compset>, and then there is a second argument for mods.

NOTE: acme_integration is a superset of acme_developer (IE, every test in acme_developer automatically goes into acme_integration as well).

Adding a testcase to a non-acme category

...

...

manage_xml_entries -query -outputlist -machine <machine> -compiler <compiler> -category <category> > SOME_FILE

...

manage_xml_entries -addlist -file SOME_FILE -category <category>

...

  1. ./create_test -testname <new-test-case>.<machine>_<compiler> -testroot <any-path> -project <batch-project> -generate <some-name-for-your-baselines>


Adding a new compset to a test XML file

...

<compset name="CMPASO-NYF">
    <grid name="T62_m120">
        <test name="ERS">
            <machine compiler="intel" testtype="mpas_developer">mustang</machine>
            <machine compiler="gnu" testtype="mpas_developer">mustang</machine>
            <machine compiler="pgi" testtype="mpas_developer">mustang</machine>
        </test>
    </grid>
</compset>

Test definition modifiers

The following modifiers can be used in the test name
_CG = gregorian calendar
_D = debug
_E = esmf interfaces
_IOP*= PnetCDF IO test where * is A(atm), C(cpl), G(glc) , I(ice), L(clm), O(ocn), W(wav) or blank (all components)
_L* = set run length y, m, d, h, s, n(nsteps) plus integer (ie _Lm6 for 6 months)
_M* = set the mpilib to *, where * is default, mpi-serial, mpich, etc
_N* = set NINST_ env value to *, where * is an integer
_P* = set pecount to *, where * are specific values which include T, S, M, L, X, 1, 1x1, 16, 16x1, 4x4, etc...
_R* = PTS_MODE test case, valid values are LA, LB, OA, OB

 


Related articles

Filter by label (Content by label)
showLabelsfalse
max5
spacesDocs
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "Docs"
labelskb-how-to-article

Page Properties
hiddentrue


Related issues