Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Aug 23, 2016
1 parent 169cc31 commit 8974922
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions utils/python/CIME/SystemTests/system_tests_compare_two.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
that's needed in both cases. This is called before _case_one_setup or
_case_two_setup.
(2) _case_one_build
This method will be called to build case one when separate_builds is True
(2) _case_two_build
This method will be called to build case two when separate_builds is True
"""

from CIME.XML.standard_module_setup import *
Expand Down Expand Up @@ -135,16 +143,16 @@ def _common_setup(self):
# Main public methods
# ========================================================================
def _case_one_build(self, sharedlib_only=False, model_only=False):
self._activate_case1()
self.build_indv(sharedlib_only=sharedlib_only, model_only=model_only)

def _case_two_build(self, sharedlib_only=False, model_only=False):
self._activate_case2()
self.build_indv(sharedlib_only=sharedlib_only, model_only=model_only)

def build_phase(self, sharedlib_only=False, model_only=False):
if self._separate_builds:
self._activate_case1()
self._case_one_build(sharedlib_only, model_only)
self._activate_case2()
self._case_two_build(sharedlib_only, model_only)
else:
self._activate_case1()
Expand Down

0 comments on commit 8974922

Please sign in to comment.