CIME.SystemTests.err.ERR

class CIME.SystemTests.err.ERR(case, **kwargs)[source]

Bases: RestartTest

Methods

__init__

initialize an object interface to the ERR system test

build

Do NOT override this method, this method is the framework that controls the build phase.

build_indv

Perform an individual build

build_phase

This is the default build phase implementation, it just does an individual build.

clean_build

compare_env_run

Compare env_run file to original and warn about differences

copy_case1_restarts_to_case2

Makes a copy (or symlink) of restart files and related files (necessary history files, rpointer files) from case1 to case2.

run

Do NOT override this method, this method is the framework that controls the run phase.

run_indv

Perform an individual run.

run_phase

Runs both phases of the two-phase test and compares their results 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_indv(sharedlib_only=False, model_only=False)[source]

Perform an individual build

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

compare_env_run(expected=None)[source]

Compare env_run file to original and warn about differences

copy_case1_restarts_to_case2()[source]

Makes a copy (or symlink) of restart files and related files (necessary history files, rpointer files) from case1 to case2.

This is not done automatically, but can be called by individual tests where case2 does a continue_run using case1’s restart files.

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.

run_phase(success_change=False)[source]

Runs both phases of the two-phase test and compares their results If success_change is True, success requires some files to be different