Skip to content

Commit

Permalink
Add homme.log to TestStatus.log for HOMME test
Browse files Browse the repository at this point in the history
The TestStatus.log is pretty useless without this info.

[BFB]
  • Loading branch information
jgfouca committed Feb 2, 2017
1 parent cea88fc commit 9388d2f
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 9388d2f

Please sign in to comment.