pull/9240/head
Craig Tiller 8 years ago
parent 8c17c757de
commit d196c8adb3
  1. 5
      test/core/end2end/BUILD
  2. 4
      test/core/end2end/generate_tests.bzl

@ -34,6 +34,7 @@ cc_library(
srcs = ['cq_verifier.c'], srcs = ['cq_verifier.c'],
hdrs = ['cq_verifier.h'], hdrs = ['cq_verifier.h'],
deps = ['//:gpr', '//:grpc', '//test/core/util:grpc_test_util'], deps = ['//:gpr', '//:grpc', '//test/core/util:grpc_test_util'],
copts = ['-std=c99'],
visibility = ["//test:__subpackages__"], visibility = ["//test:__subpackages__"],
) )
@ -41,6 +42,7 @@ cc_library(
name = 'ssl_test_data', name = 'ssl_test_data',
visibility = ["//test:__subpackages__"], visibility = ["//test:__subpackages__"],
hdrs = ['data/ssl_test_data.h'], hdrs = ['data/ssl_test_data.h'],
copts = ['-std=c99'],
srcs = [ srcs = [
"data/client_certs.c", "data/client_certs.c",
"data/server1_cert.c", "data/server1_cert.c",
@ -53,6 +55,7 @@ cc_library(
name = 'fake_resolver', name = 'fake_resolver',
hdrs = ['fake_resolver.h'], hdrs = ['fake_resolver.h'],
srcs = ['fake_resolver.c'], srcs = ['fake_resolver.c'],
copts = ['-std=c99'],
deps = ['//:gpr', '//:grpc', '//test/core/util:grpc_test_util'] deps = ['//:gpr', '//:grpc', '//test/core/util:grpc_test_util']
) )
@ -60,6 +63,7 @@ cc_library(
name = 'http_proxy', name = 'http_proxy',
hdrs = ['fixtures/http_proxy.h'], hdrs = ['fixtures/http_proxy.h'],
srcs = ['fixtures/http_proxy.c'], srcs = ['fixtures/http_proxy.c'],
copts = ['-std=c99'],
deps = ['//:gpr', '//:grpc', '//test/core/util:grpc_test_util'] deps = ['//:gpr', '//:grpc', '//test/core/util:grpc_test_util']
) )
@ -67,6 +71,7 @@ cc_library(
name = 'proxy', name = 'proxy',
hdrs = ['fixtures/proxy.h'], hdrs = ['fixtures/proxy.h'],
srcs = ['fixtures/proxy.c'], srcs = ['fixtures/proxy.c'],
copts = ['-std=c99'],
deps = ['//:gpr', '//:grpc', '//test/core/util:grpc_test_util'] deps = ['//:gpr', '//:grpc', '//test/core/util:grpc_test_util']
) )

@ -158,6 +158,7 @@ def grpc_end2end_tests():
'tests/cancel_test_helpers.h', 'tests/cancel_test_helpers.h',
'end2end_tests.h' 'end2end_tests.h'
], ],
copts = ['-std=c99'],
deps = [ deps = [
':cq_verifier', ':cq_verifier',
':ssl_test_data', ':ssl_test_data',
@ -175,6 +176,7 @@ def grpc_end2end_tests():
native.cc_library( native.cc_library(
name = '%s_test_lib' % f, name = '%s_test_lib' % f,
srcs = ['fixtures/%s.c' % f], srcs = ['fixtures/%s.c' % f],
copts = ['-std=c99'],
deps = [':end2end_tests'] deps = [':end2end_tests']
) )
for t, topt in END2END_TESTS.items(): for t, topt in END2END_TESTS.items():
@ -183,5 +185,5 @@ def grpc_end2end_tests():
native.cc_test( native.cc_test(
name = '%s_test@%s' % (f, t), name = '%s_test@%s' % (f, t),
args = [t], args = [t],
deps = [':%s_test_lib' % f] deps = [':%s_test_lib' % f],
) )

Loading…
Cancel
Save