-
-
Notifications
You must be signed in to change notification settings - Fork 678
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/tools/bazel_testing: support location args without external prefix (…
…#2287) Previously, Bazel arguments resolved with $(location) or $(locations) always included an "external/workspace/" prefix. We used this prefix to map arguments to runfiles. Upcoming versions of Bazel won't add this prefix to files in the main workspace. Witht this change, bazel_testing will read the workspace name from the WORKSPACE file from the main workspace (which must be among the arguments). This makes sure that go_bazel_test targets in the main workspace will continue to work. Updates #2285
- Loading branch information
Jay Conrod
committed
Dec 4, 2019
1 parent
2faf87d
commit fe4ffcf
Showing
1 changed file
with
69 additions
and
12 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