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

Fix a unit test for Bazel 5.0 #933

Merged
merged 1 commit into from
Sep 9, 2021
Merged

Fix a unit test for Bazel 5.0 #933

merged 1 commit into from
Sep 9, 2021

Conversation

hlopko
Copy link
Member

@hlopko hlopko commented Sep 9, 2021

unittest.bzl does a configuration transition, and with Bazel 5.0
repository-relative labels will be interpreted not as in the main
repository, but as in the repository of the transition. For us it means
we have to explicitly specify which repository we mean in our test.

unittest.bzl does a configuration transition, and with Bazel 5.0
repository-relative labels will be interpreted not as in the main
repository, but as in the repository of the transition. For us it means
we have to explicitly specify which repository we mean in our test.
@hlopko
Copy link
Member Author

hlopko commented Sep 9, 2021

CC @gregestren, hopefully this was an intentional breaking change in Bazel 5.0.

@hlopko hlopko merged commit 7cfe640 into bazelbuild:main Sep 9, 2021
@hlopko hlopko deleted the fix_test branch September 9, 2021 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants