Skip to content

Commit

Permalink
Add a flush after setting BUILD_COMPLETE for case2
Browse files Browse the repository at this point in the history
This appears to be needed for the setting to stick

Test suite: None
Test baseline: N/A
Test namelist changes: N/A
Test status: N/A

Fixes: None

User interface changes?: No

Code review: None
  • Loading branch information
billsacks committed Aug 17, 2016
1 parent 882aedc commit 51b3cf4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/python/CIME/SystemTests/system_tests_compare_two.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,11 @@ def build_phase(self, sharedlib_only=False, model_only=False):
# builds.
self._activate_case1()
self.build_indv(sharedlib_only=sharedlib_only, model_only=model_only)

# The following is needed when _case_two_setup has a case_setup call
# despite sharing the build (e.g., to change NTHRDS)
self._case2.set_value("BUILD_COMPLETE",True)
self._case2.flush()

def run_phase(self):
"""
Expand Down

0 comments on commit 51b3cf4

Please sign in to comment.