Skip to content

Commit

Permalink
.bazelrc: test go tests to be more verbose (#5734)
Browse files Browse the repository at this point in the history
  • Loading branch information
sluongng authored Jan 17, 2024
1 parent e527b02 commit 79f3fdb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,11 @@ common:macos --enable_runfiles
# Need to work around M1 Mac browser test issue https://github.com/bazelbuild/rules_webtesting/issues/438
common --experimental_inprocess_symlink_creation

# Add `-test.v` to all Go tests so that each test func is reported as a separate test case
# in the XML output. This allows our webUI to display the run time of each test case
# separately and let us know which tests is slow.
common --test_env=GO_TEST_WRAP_TESTV=1

# Workaround for Bazel 7:
# rules_docker (archived) defines a transition that helps ensure building containers with binary would use the same platform for both.
# Reference: https://github.com/bazelbuild/rules_docker/pull/1963
Expand Down

0 comments on commit 79f3fdb

Please sign in to comment.