Skip to content
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

JacocoRunner script: update for Bazel 6.0+ #1516

Conversation

gergelyfabian
Copy link
Contributor

Added a parameter to specify the Bazel major version (to have a single script for Bazel 5 and 6).
Manually tested on a repo with both Bazel versions.

Had to add a new patch file for Bazel 6.
Added new Bazel branch with the Jacoco interface implementation, updated for Bazel 6.3.2.

Updated manual test_coverage_with_local_jacocorunner to run the script with Bazel 6 provided as a parameter (it was failing after the repo's upgrade to Bazel 6).

Added a parameter to specify the Bazel major version (to have a single
script for Bazel 5 and 6).
Manually tested on a repo with both Bazel versions.

Had to add a new patch file for Bazel 6.
Added new Bazel branch with the Jacoco interface implementation, updated
for Bazel 6.3.2.

Updated manual test_coverage_with_local_jacocorunner to run the script
with Bazel 6 provided as a parameter (it was failing after the repo's
upgrade to Bazel 6).
Copy link
Collaborator

@simuons simuons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM just one minor comment. Thanks @gergelyfabian

manual_test/coverage_local_jacocorunner/test.sh Outdated Show resolved Hide resolved
…efault

The script for Bazel 5/6 should be the default one.
Leaving the version for Bazel 4 as an alternative with a version suffix
in its filename.
@gergelyfabian
Copy link
Contributor Author

LGTM just one minor comment. Thanks @gergelyfabian

I think the issue is now fixed.

Copy link
Collaborator

@simuons simuons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@simuons simuons merged commit d94ee55 into bazelbuild:master Oct 4, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants