diff --git a/bazel/check_deps/BUILD b/bazel/check_deps/BUILD index 96d735a4488c..3164f5a50ac4 100644 --- a/bazel/check_deps/BUILD +++ b/bazel/check_deps/BUILD @@ -36,6 +36,7 @@ genquery( py_test( name = "check_non_test_cc_deps", + size = "small", srcs = ["check_non_test_cc_deps.py"], data = [":non_test_cc_deps.txt"], main = "check_non_test_cc_deps.py", diff --git a/common/BUILD b/common/BUILD index f337eedd8696..23e5ccc2004b 100644 --- a/common/BUILD +++ b/common/BUILD @@ -27,6 +27,7 @@ cc_library( cc_test( name = "command_line_test", + size = "small", srcs = ["command_line_test.cpp"], deps = [ ":command_line", @@ -52,6 +53,7 @@ cc_library( cc_test( name = "check_test", + size = "small", srcs = ["check_test.cpp"], deps = [ ":check", @@ -77,6 +79,7 @@ cc_library( cc_test( name = "enum_base_test", + size = "small", srcs = ["enum_base_test.cpp"], deps = [ ":enum_base", @@ -99,6 +102,7 @@ cc_library( cc_test( name = "error_test", + size = "small", srcs = ["error_test.cpp"], deps = [ ":error", @@ -115,6 +119,7 @@ cc_library( cc_test( name = "indirect_value_test", + size = "small", srcs = ["indirect_value_test.cpp"], deps = [ ":indirect_value", @@ -144,6 +149,7 @@ cc_library( cc_test( name = "string_helpers_test", + size = "small", srcs = ["string_helpers_test.cpp"], deps = [ ":string_helpers", @@ -181,6 +187,7 @@ cc_library( cc_test( name = "vlog_test", + size = "small", srcs = ["vlog_test.cpp"], deps = [ ":vlog", diff --git a/explorer/ast/BUILD b/explorer/ast/BUILD index ca1cabeecaa9..4c67725051c9 100644 --- a/explorer/ast/BUILD +++ b/explorer/ast/BUILD @@ -80,6 +80,7 @@ cc_library( cc_test( name = "ast_test_matchers_test", + size = "small", srcs = ["ast_test_matchers_test.cpp"], deps = [ ":ast", @@ -92,6 +93,7 @@ cc_test( cc_test( name = "expression_test", + size = "small", srcs = ["expression_test.cpp"], deps = [ ":ast", @@ -119,6 +121,7 @@ cc_library( cc_test( name = "element_test", + size = "small", srcs = ["element_test.cpp"], deps = [ ":ast", @@ -132,6 +135,7 @@ cc_test( cc_test( name = "pattern_test", + size = "small", srcs = ["pattern_test.cpp"], deps = [ ":ast", diff --git a/explorer/base/BUILD b/explorer/base/BUILD index 8dcf5cd281d3..a11c316d8ad5 100644 --- a/explorer/base/BUILD +++ b/explorer/base/BUILD @@ -17,6 +17,7 @@ cc_library( cc_test( name = "arena_test", + size = "small", srcs = ["arena_test.cpp"], deps = [ ":arena", @@ -35,6 +36,7 @@ cc_library( cc_test( name = "decompose_test", + size = "small", srcs = ["decompose_test.cpp"], deps = [ ":decompose", @@ -54,6 +56,7 @@ cc_library( cc_test( name = "error_builders_test", + size = "small", srcs = ["error_builders_test.cpp"], deps = [ ":error_builders", @@ -103,6 +106,7 @@ cc_library( cc_test( name = "set_program_phase_raii_test", + size = "small", srcs = ["set_program_phase_raii_test.cpp"], deps = [ ":trace_stream", @@ -113,6 +117,7 @@ cc_test( cc_test( name = "set_file_context_raii_test", + size = "small", srcs = ["set_file_context_raii_test.cpp"], deps = [ ":source_location", diff --git a/explorer/fuzzing/BUILD b/explorer/fuzzing/BUILD index 86b17606e060..f8865c417a92 100644 --- a/explorer/fuzzing/BUILD +++ b/explorer/fuzzing/BUILD @@ -35,6 +35,7 @@ cc_binary( cc_test( name = "ast_to_proto_test", + size = "small", srcs = ["ast_to_proto_test.cpp"], args = [ "$(locations //explorer:standard_libraries)", @@ -75,6 +76,7 @@ cc_library( cc_test( name = "fuzzer_util_test", + size = "small", srcs = ["fuzzer_util_test.cpp"], data = [ "//explorer:standard_libraries", diff --git a/explorer/parse_and_execute/BUILD b/explorer/parse_and_execute/BUILD index f2a7a294ea8b..0f8e05443d78 100644 --- a/explorer/parse_and_execute/BUILD +++ b/explorer/parse_and_execute/BUILD @@ -27,6 +27,7 @@ cc_library( cc_test( name = "parse_and_execute_test", + size = "small", srcs = ["parse_and_execute_test.cpp"], deps = [ ":parse_and_execute", diff --git a/explorer/syntax/BUILD b/explorer/syntax/BUILD index 32a01bdf0f1c..d4b7e6fb0f7d 100644 --- a/explorer/syntax/BUILD +++ b/explorer/syntax/BUILD @@ -15,6 +15,7 @@ cc_library( cc_test( name = "parse_test", + size = "small", srcs = ["parse_test.cpp"], deps = [ ":syntax", @@ -140,12 +141,14 @@ py_library( py_test( name = "format_grammar_test", + size = "small", srcs = ["format_grammar_test.py"], deps = ["format_grammar_lib"], ) cc_test( name = "unimplemented_example_test", + size = "small", srcs = ["unimplemented_example_test.cpp"], deps = [ ":parse_test_matchers", diff --git a/github_tools/BUILD b/github_tools/BUILD index 144fab958282..727652868b52 100644 --- a/github_tools/BUILD +++ b/github_tools/BUILD @@ -13,6 +13,7 @@ py_library( py_test( name = "github_helpers_test", + size = "small", srcs = ["github_helpers_test.py"], python_version = "PY3", deps = [":github_helpers"], @@ -27,6 +28,7 @@ py_binary( py_test( name = "pr_comments_test", + size = "small", srcs = ["pr_comments_test.py"], python_version = "PY3", deps = [":pr_comments"], diff --git a/migrate_cpp/BUILD b/migrate_cpp/BUILD index 0d237c6eebaf..95367f1943d9 100644 --- a/migrate_cpp/BUILD +++ b/migrate_cpp/BUILD @@ -47,6 +47,7 @@ cc_library( cc_test( name = "rewriter_test", + size = "small", srcs = ["rewriter_test.cpp"], deps = [ ":rewriter", diff --git a/migrate_cpp/cpp_refactoring/BUILD b/migrate_cpp/cpp_refactoring/BUILD index d566e1caad7e..afa74385d10a 100644 --- a/migrate_cpp/cpp_refactoring/BUILD +++ b/migrate_cpp/cpp_refactoring/BUILD @@ -60,6 +60,7 @@ cc_library( cc_test( name = "fn_inserter_test", + size = "small", srcs = ["fn_inserter_test.cpp"], deps = [ ":fn_inserter", @@ -82,6 +83,7 @@ cc_library( cc_test( name = "for_range_test", + size = "small", srcs = ["for_range_test.cpp"], deps = [ ":for_range", @@ -106,6 +108,7 @@ cc_library( cc_test( name = "var_decl_test", + size = "small", srcs = ["var_decl_test.cpp"], deps = [ ":matcher_test_base", diff --git a/proposals/scripts/BUILD b/proposals/scripts/BUILD index 8eac0680c72e..6f440bc6a249 100644 --- a/proposals/scripts/BUILD +++ b/proposals/scripts/BUILD @@ -12,6 +12,7 @@ py_binary( py_test( name = "new_proposal_test", + size = "small", srcs = ["new_proposal_test.py"], data = ["template.md"], python_version = "PY3", diff --git a/scripts/BUILD b/scripts/BUILD index 7792e78c2d54..42222e24cbb1 100644 --- a/scripts/BUILD +++ b/scripts/BUILD @@ -6,6 +6,7 @@ load("@rules_python//python:defs.bzl", "py_test") py_test( name = "no_op_test", + size = "small", srcs = ["no_op_test.py"], main = "no_op_test.py", ) diff --git a/testing/base/BUILD b/testing/base/BUILD index f70426ff71a1..144197eeb326 100644 --- a/testing/base/BUILD +++ b/testing/base/BUILD @@ -38,6 +38,7 @@ cc_library( cc_test( name = "test_raw_ostream_test", + size = "small", srcs = ["test_raw_ostream_test.cpp"], deps = [ ":test_raw_ostream", diff --git a/testing/file_test/BUILD b/testing/file_test/BUILD index 893a851772c8..8496525454b1 100644 --- a/testing/file_test/BUILD +++ b/testing/file_test/BUILD @@ -43,6 +43,7 @@ cc_library( file_test( name = "file_test_base_test", + size = "small", srcs = ["file_test_base_test.cpp"], tests = glob(["testdata/**"]), deps = [ diff --git a/testing/fuzzing/BUILD b/testing/fuzzing/BUILD index 574ba8fa2620..247d97312c98 100644 --- a/testing/fuzzing/BUILD +++ b/testing/fuzzing/BUILD @@ -47,6 +47,7 @@ cc_binary( cc_test( name = "proto_to_carbon_test", + size = "small", srcs = ["proto_to_carbon_test.cpp"], deps = [ ":carbon_cc_proto", diff --git a/toolchain/testing/BUILD b/toolchain/testing/BUILD index ff1c0f6944b4..349616a110b4 100644 --- a/toolchain/testing/BUILD +++ b/toolchain/testing/BUILD @@ -9,6 +9,7 @@ package(default_visibility = ["//visibility:public"]) file_test( name = "file_test", + size = "small", srcs = ["file_test.cpp"], tests = [ "//toolchain/check:testdata", diff --git a/utils/treesitter/BUILD b/utils/treesitter/BUILD index a0f9e029af48..68f30fc79a25 100644 --- a/utils/treesitter/BUILD +++ b/utils/treesitter/BUILD @@ -27,6 +27,7 @@ cc_binary( cc_test( name = "explorer_tests", + size = "small", srcs = ["test_runner.cpp"], args = ["$(locations //explorer:treesitter_testdata)"], data = ["//explorer:treesitter_testdata"], @@ -50,6 +51,7 @@ filegroup( cc_test( name = "string_tests", + size = "small", srcs = ["test_runner.cpp"], args = ["$(locations :string_testdata)"], data = [":string_testdata"], @@ -60,6 +62,7 @@ cc_test( cc_test( name = "string_fail_tests", + size = "small", srcs = ["test_runner.cpp"], args = ["$(locations :string_fail_testdata)"], data = [":string_fail_testdata"],