diff options
author | Adele Zhou <adelez@google.com> | 2018-02-05 14:22:24 -0800 |
---|---|---|
committer | Adele Zhou <adelez@google.com> | 2018-02-05 14:22:37 -0800 |
commit | 5b30e468548a345a773ebdecab466ce7ad45ab0f (patch) | |
tree | 3a8d4dfd0fa5952a061b31925052b761f0ef2486 /test/core | |
parent | 6b676e7b88cfb838fec1b3814d9da3d6540f39ef (diff) |
Define the tests as grpc_cc_test to automatically test against all polling strategies
Diffstat (limited to 'test/core')
-rwxr-xr-x | test/core/bad_client/generate_tests.bzl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/core/bad_client/generate_tests.bzl b/test/core/bad_client/generate_tests.bzl index b595defb8c..ba91e2c213 100755 --- a/test/core/bad_client/generate_tests.bzl +++ b/test/core/bad_client/generate_tests.bzl @@ -16,6 +16,7 @@ """Generates the appropriate build.json data for all the bad_client tests.""" +load("//bazel:grpc_build_system.bzl", "grpc_cc_test", "grpc_cc_library") def test_options(): return struct() @@ -36,14 +37,14 @@ BAD_CLIENT_TESTS = { } def grpc_bad_client_tests(): - native.cc_library( + grpc_cc_library( name = 'bad_client_test', srcs = ['bad_client.cc'], hdrs = ['bad_client.h'], deps = ['//test/core/util:grpc_test_util', '//:grpc', '//:gpr', '//test/core/end2end:cq_verifier'] ) for t, topt in BAD_CLIENT_TESTS.items(): - native.cc_test( + grpc_cc_test( name = '%s_bad_client_test' % t, srcs = ['tests/%s.cc' % t], deps = [':bad_client_test'], |