bazelbuild/bazel

ui_event_filters can't turn categories off and back on again

Open

#12.873 aperta il 21 gen 2021

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Java (4465 fork)batch import
P2help wantedteam-OSStype: feature request

Metriche repository

Star
 (25.384 star)
Metriche merge PR
 (Merge medio 22g 20h) (77 PR mergiate in 30 g)

Descrizione

Description of the problem / feature request:

$ bazel test //main-street/...
INFO: Invocation ID: fc830a0d-802f-47a5-a356-2adc9220dc5d
INFO: Analyzed 370 targets (0 packages loaded, 0 targets configured).
INFO: Found 262 targets and 108 test targets...
INFO: Elapsed time: 0.464s, Critical Path: 0.01s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
Test cases: finished with 4247 passing and 0 failing out of 4248 test cases (some targets did not have test case information)

INFO: Build completed successfully, 1 total action
$ bazel test //main-street/... --ui_event_filters=-INFO
INFO: Build completed successfully, 1 total action
Test cases: finished with 4247 passing and 0 failing out of 4248 test cases (some targets did not have test case information)

INFO: Build completed successfully, 1 total action
$ bazel test //main-street/... --ui_event_filters=-INFO --ui_event_filters=+INFO
INFO: Build completed successfully, 1 total action
Test cases: finished with 4247 passing and 0 failing out of 4248 test cases (some targets did not have test case information)

INFO: Build completed successfully, 1 total action

This problem manifests itself it I want my default configuration to be -INFO for my organization, but if I want to give them a --config=verbose mode to turn the events back on.

Feature requests: what underlying problem are you trying to solve with this feature?

For the bazel test //main-street/... --ui_event_filters=-INFO --ui_event_filters=+INFO above to match the output of bazel test //main-street/...

Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Run the above but with your own target

What operating system are you running Bazel on?

OS X

What's the output of bazel info release?

$ bazel info release
INFO: Invocation ID: b5577e66-63ff-46c4-8c9c-86738498c8f5
release 3.7.2

Have you found anything relevant by searching the web?

https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+is%3Aopen+ui_event_filters

Any other information, logs, or outputs that you want to share?

Replace these lines with your answer.

If the files are large, upload as attachment or provide link.

Guida contributor