diff options
author | ccalvarin <ccalvarin@google.com> | 2017-08-14 21:09:07 +0200 |
---|---|---|
committer | Irina Iancu <elenairina@google.com> | 2017-08-16 11:04:41 +0200 |
commit | 1cbe62a09b37f2db76e11ebb18fb46616076ef87 (patch) | |
tree | f02a66fc345507f3eb3ab3bbe404fdcb161cbabc /src/test/cpp/BUILD | |
parent | fc6412ca67a9d98c1b6b0c8b237c119e543bc266 (diff) |
Send Bazel startup options to server.
Send the startup options tagged with their origin so that the server has correct information about the command line as the client received it.
Removes the unconditional stderr printing of all bazelrc startup options in the bazel client. Instead, the startup options are sent to the server and the same informational printing is gated on the --announce_rc option. This avoids unconditional log spam to stderr early in startup. If the server is unreachable or there are errors parsing startup options, the message is still printed to stderr.
Fixes https://github.com/bazelbuild/bazel/issues/2530.
RELNOTES: --announce_rc now controls whether bazelrc startup options are printed to stderr.
PiperOrigin-RevId: 165211007
Diffstat (limited to 'src/test/cpp/BUILD')
-rw-r--r-- | src/test/cpp/BUILD | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/cpp/BUILD b/src/test/cpp/BUILD index 20c36d552e..500974501d 100644 --- a/src/test/cpp/BUILD +++ b/src/test/cpp/BUILD @@ -37,12 +37,14 @@ cc_test( name = "option_processor_test", size = "small", srcs = ["option_processor_test.cc"], + tags = ["requires_internet"], deps = [ "//src/main/cpp:blaze_util", "//src/main/cpp:option_processor", "//src/main/cpp:workspace_layout", "//src/main/cpp/util", "//third_party:gtest", + "@com_googlesource_code_re2//:re2", ], ) |