Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add homme.log to TestStatus.log for HOMME test #1250

Merged
merged 1 commit into from
Feb 2, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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