Print test errors by default
Using bazel to run tests, errors during test runs were not printed to the terminal by default, but just saved to a log file. This made it impossible to get the error output, when the tests were run on the CI, if the specific option to print errors to stderr/stdout was not part of the job. With this change the `--test_output=errors`-option is enabled by default, ensuring that errors during test runs are always easily readable. Change-Id: I7fc46386b8c851352baa9ba4965000cfd1020bf6
This commit is contained in:
4
.bazelrc
4
.bazelrc
@@ -2,7 +2,9 @@ build --workspace_status_command=./tools/workspace-status.sh --strategy=Closure=
|
||||
build --repository_cache=~/.gerritcodereview/bazel-cache/repository
|
||||
build --experimental_strict_action_env
|
||||
build --action_env=PATH
|
||||
test --build_tests_only
|
||||
build --disk_cache=~/.gerritcodereview/bazel-cache/cas
|
||||
|
||||
test --build_tests_only
|
||||
test --test_output=errors
|
||||
|
||||
import tools/remote-bazelrc
|
||||
|
Reference in New Issue
Block a user