Skip to content

Commit

Permalink
moved config_tests.xml to cime_config directory, reorder tests in scr…
Browse files Browse the repository at this point in the history
…ipts_regression tests
  • Loading branch information
jedwards4b committed Aug 16, 2016
1 parent 0b52c77 commit 60290c6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion cime_config/cesm/config_files.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

<entry id="CONFIG_TESTS_FILE">
<type>char</type>
<default_value>$CIMEROOT/scripts/Testing/Testcases/config_tests.xml</default_value>
<default_value>$CIMEROOT/cime_config/config_tests.xml</default_value>
<group>test</group>
<file>env_test.xml</file>
<desc>file containing system test descriptions </desc>
Expand Down
30 changes: 15 additions & 15 deletions utils/python/tests/scripts_regression_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def setup_proxy():
return False

###############################################################################
class B_TestCreateNewcase(unittest.TestCase):
class J_TestCreateNewcase(unittest.TestCase):
###############################################################################
def setUp(self):
self._testroot = MACHINE.get_value("CESMSCRATCHROOT")
Expand Down Expand Up @@ -162,7 +162,7 @@ def tearDown(self):
elif do_teardown:
shutil.rmtree(tfile)
###############################################################################
class D_TestWaitForTests(unittest.TestCase):
class M_TestWaitForTests(unittest.TestCase):
###############################################################################

###########################################################################
Expand Down Expand Up @@ -417,7 +417,7 @@ def tearDown(self):
os.remove(file_to_clean)

###############################################################################
class C_TestCreateTest(TestCreateTestCommon):
class N_TestCreateTest(TestCreateTestCommon):
###############################################################################

###########################################################################
Expand Down Expand Up @@ -472,7 +472,7 @@ def test_create_test_rebless_namelist(self):
self.simple_test(True, "-c -n -b %s -t %s-%s" % (self._baseline_name, self._baseline_name, CIME.utils.get_utc_timestamp()))

###############################################################################
class E_TestTestScheduler(TestCreateTestCommon):
class O_TestTestScheduler(TestCreateTestCommon):
###############################################################################

###########################################################################
Expand Down Expand Up @@ -609,7 +609,7 @@ def test_b_full(self):
self.assertEqual(ts.get_status(MEMLEAK_PHASE), TEST_PASS_STATUS)

###############################################################################
class TestJenkinsGenericJob(TestCreateTestCommon):
class P_TestJenkinsGenericJob(TestCreateTestCommon):
###############################################################################

###########################################################################
Expand Down Expand Up @@ -705,7 +705,7 @@ def test_jenkins_generic_job_kill(self):
assert_dashboard_has_build(self, build_name)

###############################################################################
class TestBlessTestResults(TestCreateTestCommon):
class Q_TestBlessTestResults(TestCreateTestCommon):
###############################################################################

_test_name = "TESTRUNDIFF_Mmpi-serial.f19_g16_rx1.A"
Expand Down Expand Up @@ -761,7 +761,7 @@ def test_bless_test_results(self):

###############################################################################
@unittest.skip("Disabling this test until we figure out how to integrate ACME tests and CIME xml files.")
class TestUpdateACMETests(unittest.TestCase):
class R_TestUpdateACMETests(unittest.TestCase):
###############################################################################

###########################################################################
Expand Down Expand Up @@ -868,7 +868,7 @@ def test_full_system(self):
self.assertTrue(test_time > 0, msg="test time was zero for %s" % test_status)

###############################################################################
class TestCimeCase(TestCreateTestCommon):
class K_TestCimeCase(TestCreateTestCommon):
###############################################################################

###########################################################################
Expand Down Expand Up @@ -910,7 +910,7 @@ def test_cime_case(self):
self.assertEqual(case.get_value("PIO_TYPENAME"), "netcdf")

###############################################################################
class TestSingleSubmit(TestCreateTestCommon):
class X_TestSingleSubmit(TestCreateTestCommon):
###############################################################################

###########################################################################
Expand All @@ -933,7 +933,7 @@ def test_single_submit(self):
msg="COMMAND SHOULD HAVE WORKED\nwait_for_tests output:\n%s\n\nerrput:\n%s\n\ncode: %d" % (output, errput, stat))

###############################################################################
class TestSaveTimings(TestCreateTestCommon):
class L_TestSaveTimings(TestCreateTestCommon):
###############################################################################

###########################################################################
Expand All @@ -954,7 +954,7 @@ def test_save_timings(self):
msg="COMMAND SHOULD HAVE WORKED\nwait_for_tests output:\n%s\n\nerrput:\n%s\n\ncode: %d" % (output, errput, stat))

###############################################################################
class TestXMLQuery(unittest.TestCase):
class C_TestXMLQuery(unittest.TestCase):
# Testing command line scripts
###############################################################################

Expand Down Expand Up @@ -1037,7 +1037,7 @@ def test_subgroup(self):
self.assertEqual(searchObj.group() , group_out)

###############################################################################
class CheckCode(unittest.TestCase):
class B_CheckCode(unittest.TestCase):
###############################################################################

###########################################################################
Expand Down Expand Up @@ -1283,7 +1283,7 @@ def assert_variable_matches(self, var_name, regex, env=None, var=None):


###############################################################################
class TestMacrosBasic(unittest.TestCase):
class G_TestMacrosBasic(unittest.TestCase):
###############################################################################

"""Basic infrastructure tests.
Expand Down Expand Up @@ -1317,7 +1317,7 @@ def test_script_rejects_bad_build_system(self):


###############################################################################
class TestMakeMacros(unittest.TestCase):
class H_TestMakeMacros(unittest.TestCase):
###############################################################################

"""Makefile macros tests.
Expand Down Expand Up @@ -1592,7 +1592,7 @@ def test_variable_insertion_with_machine_specific_setting(self):

###############################################################################
@unittest.skipIf(FAST_ONLY, "Skipping slow CMake tests.")
class TestCMakeMacros(TestMakeMacros):
class I_TestCMakeMacros(H_TestMakeMacros):
###############################################################################

"""CMake macros tests.
Expand Down

0 comments on commit 60290c6

Please sign in to comment.