-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only add CoverageOutputGenerator in coverage mode. #8477
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for finding time to work on this so quickly! Only single clasification needed. Thank you!
Would you mind adding 2 tests (unless one of them exists already):
- one in BuildViewTestCase that tests that sh_tests implicit dependency label is null
- one in CoverageCommandTest that tests that sh_test in coverage has implicit dependency on the right label. I'm not sure if we have this test in bazel, if we don't and you don't know how to proceed, I'll be fine with having an integration test that will cover this branch.
Thanks you!
src/main/java/com/google/devtools/build/lib/analysis/BaseRuleClasses.java
Outdated
Show resolved
Hide resolved
Rename to :lcov_merger according to the late-bound attributes naming policy.
I added the tests in a new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much!
src/test/java/com/google/devtools/build/lib/rules/sh/BazelShTestConfiguredTargetTest.java
Outdated
Show resolved
Hide resolved
Fixes bazelbuild#8355. Closes bazelbuild#8477. PiperOrigin-RevId: 250489150
Fixes bazelbuild#8355. Closes bazelbuild#8477. PiperOrigin-RevId: 250489150
Fixes #8355.