From 68742fa7854deb4758ef28700d7d682a7d6f67a5 Mon Sep 17 00:00:00 2001 From: Jason Boutte Date: Wed, 6 Dec 2023 10:22:11 -0800 Subject: [PATCH] Fixes loading model customize earlier --- CIME/tests/scripts_regression_tests.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CIME/tests/scripts_regression_tests.py b/CIME/tests/scripts_regression_tests.py index 039f13c7718..66f4c015298 100755 --- a/CIME/tests/scripts_regression_tests.py +++ b/CIME/tests/scripts_regression_tests.py @@ -44,6 +44,7 @@ from CIME.provenance import get_test_success, save_test_success from CIME import utils from CIME.tests.base import BaseTestCase +from CIME.config import Config os.environ["CIME_GLOBAL_WALLTIME"] = "0:05:00" @@ -151,6 +152,9 @@ def configure_tests( ): config = CIME.utils.get_cime_config() + customize_path = os.path.join(utils.get_src_root(), "cime_config", "customize") + Config.load(customize_path) + if timeout: BaseTestCase.GLOBAL_TIMEOUT = str(timeout)