Skip to content

Commit

Permalink
Merge branch 'jgfouca/add_to_homme_teststatus_log' into master (PR #1250
Browse files Browse the repository at this point in the history
)

Add homme.log to TestStatus.log for HOMME test

The TestStatus.log is pretty useless without this info.

[BFB]

* jgfouca/add_to_homme_teststatus_log:
  Add homme.log to TestStatus.log for HOMME test
  • Loading branch information
jgfouca committed Feb 2, 2017
2 parents cea88fc + 9388d2f commit 628a26d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cime/utils/python/CIME/SystemTests/homme.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 628a26d

Please sign in to comment.