Skip to content

Commit

Permalink
bazelrc set --build_tests_only for test
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTheElder committed Oct 30, 2018
1 parent 453336c commit 22aa784
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# populate env used for stamping builds etc
build --workspace_status_command=./hack/print-workspace-status.sh
run --workspace_status_command=./hack/print-workspace-status.sh

# enable data race detection
test --features=race --test_output=errors

# only build tests when testing
test --build_tests_only

# you can run only lint tests with:
# bazel test //... --config=lint
test:lint --test_tag_filters=lint
Expand Down

0 comments on commit 22aa784

Please sign in to comment.