mirror of
https://github.com/cameron-martin/bazel-lsp.git
synced 2025-08-04 14:28:24 +00:00
chore: increase verbosity for build/test failures (#104)
If action fails bazel suggest using --verbose_failures to get more info, including command line of failed command. It's usually useful to have more data about failed commands, and it effective only in case actual failure happens. Showing output of failed tests seems to be helpful in most cases - otherwise one needs to either check the output file, or e.g. view failure in buildbuddy (if one has access).
This commit is contained in:
parent
8f717a5204
commit
d1c3376555
1 changed files with 6 additions and 0 deletions
6
.bazelrc
6
.bazelrc
|
@ -1,6 +1,12 @@
|
|||
# Enable platform configs below, like build:linux, test:windows etc.
|
||||
common --enable_platform_specific_config
|
||||
|
||||
# Print full command line if action fails.
|
||||
build --verbose_failures
|
||||
|
||||
# Print output of failed tests.
|
||||
test --test_output=errors
|
||||
|
||||
# To update these lines, execute
|
||||
# `bazel run @rules_bazel_integration_test//tools:update_deleted_packages`
|
||||
build --deleted_packages=fixtures/bzlmod/root,fixtures/simple/output_base/external/bar,fixtures/simple/output_base/external/foo,fixtures/simple/root,fixtures/simple/root/foo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue