aboutsummaryrefslogtreecommitdiffhomepage
path: root/bazel
diff options
context:
space:
mode:
authorGravatar Adele Zhou <adelez@google.com>2018-03-21 16:35:05 -0700
committerGravatar Adele Zhou <adelez@google.com>2018-03-23 10:40:46 -0700
commitad5be3e3107d357679e0b05db8743dccf957a292 (patch)
tree1bc265d1b3c00b5817f8df928aaeed445deea71a /bazel
parent90af9346de2e4e6f0d45b130ce0de3d08d075c3f (diff)
Add size param to grpc_cc_test and set it to enormous for fuzzer tests.
Diffstat (limited to 'bazel')
-rw-r--r--bazel/grpc_build_system.bzl3
1 files changed, 2 insertions, 1 deletions
diff --git a/bazel/grpc_build_system.bzl b/bazel/grpc_build_system.bzl
index 08dc3de0ea..3ec817748d 100644
--- a/bazel/grpc_build_system.bzl
+++ b/bazel/grpc_build_system.bzl
@@ -108,7 +108,7 @@ def grpc_proto_library(name, srcs = [], deps = [], well_known_protos = False,
generate_mocks = generate_mocks,
)
-def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data = [], uses_polling = True, language = "C++"):
+def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data = [], uses_polling = True, language = "C++", size = "medium"):
copts = []
if language.upper() == "C":
copts = if_not_windows(["-std=c99"])
@@ -120,6 +120,7 @@ def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data
'deps': deps + _get_external_deps(external_deps),
'copts': copts,
'linkopts': if_not_windows(["-pthread"]),
+ 'size': size,
}
if uses_polling:
native.cc_test(testonly=True, tags=['manual'], **args)