Skip to content

Commit 1c069b9

Browse files
committed
special test configs
1 parent 27088fe commit 1c069b9

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ common --enable_bzlmod
4242
# Local disk cache greatly speeds up builds if the regular cache is lost
4343
common --disk_cache=~/.cache/bazel/bazel-disk-cache
4444

45+
4546
# Additional config to use for readthedocs builds.
4647
# See .readthedocs.yml for additional flags that can only be determined from
4748
# the runtime environment.
@@ -54,4 +55,6 @@ common --incompatible_no_implicit_file_export
5455

5556
build --lockfile_mode=update
5657

58+
import %workspace%/.bazelrc.specialized_configs
59+
5760
try-import user.bazelrc

.bazelrc.specialized_configs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
# Helper config to run most tests without waiting an inordinate amount
3+
# of time or freezing the system
4+
common:fast-tests --build_tests_only=true
5+
common:fast-tests --build_tag_filters=-large,-enormous,-integration-test
6+
common:fast-tests --test_tag_filters=-large,-enormous,-integration-test
7+
8+
# Helper config for running a single test locally and investigating resulting state
9+
common:testone --test_output=streamed
10+
common:testone --test_strategy=standalone
11+
common:testone --spawn_strategy=standalone
12+
common:testone --strategy=standalone

tests/toolchains/defs.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,5 @@ def define_toolchain_tests(name):
5757
deps = ["//python/runfiles"],
5858
data = ["//tests/support:current_build_settings"],
5959
target_compatible_with = select(target_compatible_with),
60+
size = "large",
6061
)

0 commit comments

Comments
 (0)