-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
Feature RequestGood First IssueIssues that can be undertaken by someone new to the projectIssues that can be undertaken by someone new to the project
Description
Description
When running bazel test it creates the TEST_PREMATURE_EXIT_FILE which contains an absolute path to a file in a writable directory.
If a test binary creates that file, then removes it on a successful exit it allows the test runner to understand when a test binary has been aggressively aborted.
Additional Context
In order to catch early exit, a test may create a file at the path specified by TEST_PREMATURE_EXIT_FILE upon start and remove it upon exit. If Bazel sees the file when the test finishes, it will assume that the test exited prematurely and mark it as having failed.
Metadata
Metadata
Assignees
Labels
Feature RequestGood First IssueIssues that can be undertaken by someone new to the projectIssues that can be undertaken by someone new to the project