Skip to content

Commit 3453bc0

Browse files
Fix TEST_PREMATURE_EXIT_FILE not being removed in macos_test_runner (#2735)
Signed-off-by: Brentley Jones <[email protected]>
1 parent 3501fdb commit 3453bc0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apple/testing/default_runner/macos_test_runner.template.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ fi
182182

183183
if [[ "${COVERAGE:-}" -ne 1 ]]; then
184184
# Normal tests run without coverage
185+
if [[ -f "${TEST_PREMATURE_EXIT_FILE:-}" ]]; then
186+
rm -f "$TEST_PREMATURE_EXIT_FILE"
187+
fi
188+
185189
exit 0
186190
fi
187191

0 commit comments

Comments
 (0)