Skip to content

Commit

Permalink
fix setup issue in pea test
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Aug 23, 2016
1 parent 36f7039 commit 0e484d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion utils/python/CIME/SystemTests/pea.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ def _common_setup(self):
self._case.set_value("NTASKS_%s"%comp, 1)
self._case.set_value("NTHRDS_%s"%comp, 1)
self._case.set_value("ROOTPE_%s"%comp, 0)


def _case_one_setup(self):
pass
case_setup(self._case, reset=True, test_mode=True)

def _case_two_setup(self):
self._case.set_value("MPILIB","mpi-serial")
if os.path.isfile("Macros"):
Expand Down
2 changes: 1 addition & 1 deletion utils/python/CIME/check_lockedfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def check_lockedfiles(caseroot=None):
print(" found difference in %s : case %s locked %s" %
(key, repr(diffs[key][0]), repr(diffs[key][1])))
if objname == "env_mach_pes":
expect(False, "Invoke case.setup --clean followed by case.setup")
expect(False, "Invoke case.setup --reset ")
elif objname == "env_case":
expect(False, "Cannot change file env_case.xml, please"
" recover the original copy from LockedFiles")
Expand Down

0 comments on commit 0e484d9

Please sign in to comment.