From 9388d2faf72727bd5103b879435038782f54702d Mon Sep 17 00:00:00 2001 From: James Foucar Date: Thu, 2 Feb 2017 12:05:16 -0700 Subject: [PATCH] Add homme.log to TestStatus.log for HOMME test The TestStatus.log is pretty useless without this info. [BFB] --- cime/utils/python/CIME/SystemTests/homme.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cime/utils/python/CIME/SystemTests/homme.py b/cime/utils/python/CIME/SystemTests/homme.py index f7d6ee11782..30fc463a704 100644 --- a/cime/utils/python/CIME/SystemTests/homme.py +++ b/cime/utils/python/CIME/SystemTests/homme.py @@ -4,6 +4,7 @@ from CIME.XML.standard_module_setup import * from CIME.SystemTests.system_tests_common import SystemTestsCommon from CIME.build import post_build +from CIME.utils import append_status import shutil logger = logging.getLogger(__name__) @@ -60,6 +61,11 @@ def run_phase(self): else: run_cmd_no_fail("make -j 4 baseline >& %s" % log, from_dir=exeroot) + # Add homme.log output to TestStatus.log so that it can + # appear on the dashboard. Otherwise, the TestStatus.log + # is pretty useless for this test. + append_status(open(log, "r").read(), sfile="TestStatus.log") + # Homme is a bit of an oddball test since it's not really running the ACME model # We need to override some methods to make the core infrastructure work.