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

Fixes test status reporting errors during successful baseline comparison #4686

Merged
merged 5 commits into from
Oct 3, 2024
Merged
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions CIME/hist_utils.py
Original file line number Diff line number Diff line change
@@ -740,7 +740,7 @@ def get_ts_synopsis(comments):
>>> get_ts_synopsis('file1=\nfile2=\nFailed to open file\n')
'ERROR CPRNC failed to open files'
>>> get_ts_synopsis('file1=\nfile2=\nSome other error\n')
'Could not interpret CPRNC output'
'ERROR Could not interpret CPRNC output'
"""
comments = comments.strip()

@@ -779,6 +779,6 @@ def get_ts_synopsis(comments):
elif open_fail:
synopsis = "ERROR CPRNC failed to open files"
else:
synopsis = "Could not interpret CPRNC output"
synopsis = "ERROR Could not interpret CPRNC output"

return synopsis