|
|
@ -189,7 +189,7 @@ def ios_cc_test( |
|
|
|
deps = ios_test_deps, |
|
|
|
deps = ios_test_deps, |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data = [], uses_polling = True, language = "C++", size = "medium", timeout = None, tags = [], exec_compatible_with = [], exec_properties = {}): |
|
|
|
def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data = [], uses_polling = True, language = "C++", size = "medium", timeout = None, tags = [], exec_compatible_with = [], exec_properties = {}, shard_count = None): |
|
|
|
copts = if_mac(["-DGRPC_CFSTREAM"]) |
|
|
|
copts = if_mac(["-DGRPC_CFSTREAM"]) |
|
|
|
if language.upper() == "C": |
|
|
|
if language.upper() == "C": |
|
|
|
copts = copts + if_not_windows(["-std=c99"]) |
|
|
|
copts = copts + if_not_windows(["-std=c99"]) |
|
|
@ -204,6 +204,7 @@ def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data |
|
|
|
"timeout": timeout, |
|
|
|
"timeout": timeout, |
|
|
|
"exec_compatible_with": exec_compatible_with, |
|
|
|
"exec_compatible_with": exec_compatible_with, |
|
|
|
"exec_properties": exec_properties, |
|
|
|
"exec_properties": exec_properties, |
|
|
|
|
|
|
|
"shard_count": shard_count, |
|
|
|
} |
|
|
|
} |
|
|
|
if uses_polling: |
|
|
|
if uses_polling: |
|
|
|
# the vanilla version of the test should run on platforms that only |
|
|
|
# the vanilla version of the test should run on platforms that only |
|
|
|