CIME.SystemTests.system_tests_compare_n.SystemTestsCompareN
- class CIME.SystemTests.system_tests_compare_n.SystemTestsCompareN(case, N=2, separate_builds=False, run_suffixes=None, run_descriptions=None, multisubmit=False, ignore_fieldlist_diffs=False, dry_run=False, **kwargs)[source]
Bases:
SystemTestsCommon
Methods
__init__
Initialize a SystemTestsCompareN object.
Do NOT override this method, this method is the framework that controls the build phase.
Perform an individual build
This is the default build phase implementation, it just does an individual build.
clean_build
Compare env_run file to original and warn about differences
Do NOT override this method, this method is the framework that controls the run phase.
Perform an individual run.
Runs all phases of the N-phase test and compares base results with subsequent ones If success_change is True, success requires some files to be different
- build(sharedlib_only=False, model_only=False, ninja=False, dry_run=False, separate_builds=False, skip_submit=False)[source]
Do NOT override this method, this method is the framework that controls the build phase. build_phase is the extension point that subclasses should use.
- build_phase(sharedlib_only=False, model_only=False)[source]
This is the default build phase implementation, it just does an individual build. This is the subclass’ extension point if they need to define a custom build phase.
PLEASE THROW EXCEPTION ON FAIL
- run(skip_pnl=False)[source]
Do NOT override this method, this method is the framework that controls the run phase. run_phase is the extension point that subclasses should use.
- run_indv(suffix='base', st_archive=False, submit_resubmits=None, keep_init_generated_files=False)[source]
Perform an individual run. Raises an EXCEPTION on fail.
keep_init_generated_files: If False (the default), we remove the init_generated_files subdirectory of the run directory before running the case. This is usually what we want for tests, but some specific tests may want to leave this directory in place, so can set this variable to True to do so.