diff --git a/CIME/test_status.py b/CIME/test_status.py index 93b2c34a032..ecf34c44cf6 100644 --- a/CIME/test_status.py +++ b/CIME/test_status.py @@ -263,7 +263,8 @@ def set_status(self, phase, status, comments=""): and phase != CORE_PHASES[-1] ): next_core_phase = CORE_PHASES[CORE_PHASES.index(phase) + 1] - self._phase_statuses[next_core_phase] = (TEST_PEND_STATUS, "") + if next_core_phase != SHAREDLIB_BUILD_PHASE: + self._phase_statuses[next_core_phase] = (TEST_PEND_STATUS, "") def get_status(self, phase): return self._phase_statuses[phase][0] if phase in self._phase_statuses else None