-
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
cquery inherits from test
not build
#13491
Conversation
Just want to confirm, after #13428 (comment), that this is the route you want to go. Also a nitpick on the description: this means cquery picks up .bazelrc directives of the form:
right? For example, I expect cquery already picks up
but not
|
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.
Can we add a quick test to block regression? https://github.com/bazelbuild/bazel/blob/080ef6eba08e8e5329c7135d39378d5841ee417f/src/test/shell/integration/configured_query_test.sh looks like the best place to me (I can't find any dedicated bazelrc
tests).
src/main/java/com/google/devtools/build/lib/runtime/commands/CqueryCommand.java
Show resolved
Hide resolved
6a6cc2a
to
6d9f81e
Compare
This makes flags like `--test_arg` present in `.bazelrc` files be factored into the configuration hash for test targets. See bazelbuild#13428 for extensive context.
6d9f81e
to
91a9443
Compare
This makes directives like `test --test_arg=foo` present in `.bazelrc` files be factored into the configuration hash for test targets. See bazelbuild#13428 for extensive context. Closes bazelbuild#13491. PiperOrigin-RevId: 382143334
This makes directives like `test --test_arg=foo` present in `.bazelrc` files be factored into the configuration hash for test targets. See bazelbuild#13428 for extensive context. Closes bazelbuild#13491. PiperOrigin-RevId: 382143334
This seems to have broken |
Sorry for the breakge! I don't think this is expected - let's follow up on that issue. |
This makes directives like
test --test_arg=foo
present in.bazelrc
files befactored into the configuration hash for test targets.
See #13428 for extensive
context.