forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Post
TestAttempt
/TestResult
events when a test can be built but t…
…est-exec-config-inputs fail to build. Usually, when a test target can be built, the `TestRunnerAction` will be buildable, but this is not always the case. If the special `exec`-config inputs fail to build, the test action may fail to build, which will only happen in the `test` command. The build tool (and BEP) assume that if a test-type target is buildable, and the command is `test`, then the corresponding `TestAttempt`/`TestResult` events will eventually be posted. This change ensures those events are posted with minimal, correct information indicating the test `FAILED_TO_BUILD`. RELNOTES: BEP will include correct \`TestResult\` and \`TargetSummary\` events when special test inputs like \`$test_runtime\` fail to build. PiperOrigin-RevId: 660904505 Change-Id: Ie44d558be5393ee910e6c4171ac295af2f34b182
- Loading branch information
1 parent
df38c20
commit db4c550
Showing
7 changed files
with
401 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.