Skip to content

Commit 4dda21f

Browse files
committed
Simplify avoidance of SHAREDLIB_BUILD PEND
1 parent f173c62 commit 4dda21f

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

CIME/test_status.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,8 @@ def set_status(self, phase, status, comments=""):
263263
and phase != CORE_PHASES[-1]
264264
):
265265
next_core_phase = CORE_PHASES[CORE_PHASES.index(phase) + 1]
266-
self._phase_statuses[next_core_phase] = (TEST_PEND_STATUS, "")
267-
if next_core_phase == SHAREDLIB_BUILD_PHASE:
268-
del self._phase_statuses[next_core_phase]
266+
if next_core_phase != SHAREDLIB_BUILD_PHASE:
267+
self._phase_statuses[next_core_phase] = (TEST_PEND_STATUS, "")
269268

270269
def get_status(self, phase):
271270
return self._phase_statuses[phase][0] if phase in self._phase_statuses else None

0 commit comments

Comments
 (0)