Merge pull request #1321 from ctiller/unsecure

Run capable test suites against grpc_unsecure
pull/1324/head
Nicolas Noble 10 years ago
commit 2a191e39aa
  1. 15580
      Makefile
  2. 44
      test/core/end2end/gen_build_json.py
  3. 2472
      tools/run_tests/tests.json

15580
Makefile

File diff suppressed because one or more lines are too long

@ -34,15 +34,17 @@
import simplejson
END2END_FIXTURES = [
'chttp2_fake_security',
'chttp2_fullstack',
'chttp2_fullstack_uds',
'chttp2_simple_ssl_fullstack',
'chttp2_simple_ssl_with_oauth2_fullstack',
'chttp2_socket_pair',
'chttp2_socket_pair_one_byte_at_a_time',
]
# maps fixture name to whether it requires the security library
END2END_FIXTURES = {
'chttp2_fake_security': True,
'chttp2_fullstack': False,
'chttp2_fullstack_uds': False,
'chttp2_simple_ssl_fullstack': True,
'chttp2_simple_ssl_with_oauth2_fullstack': True,
'chttp2_socket_pair': False,
'chttp2_socket_pair_one_byte_at_a_time': False,
}
END2END_TESTS = [
@ -111,7 +113,7 @@ def main():
'secure': 'check',
'src': ['test/core/end2end/fixtures/%s.c' % f]
}
for f in END2END_FIXTURES] + [
for f in sorted(END2END_FIXTURES.keys())] + [
{
'name': 'end2end_test_%s' % t,
'build': 'private',
@ -120,7 +122,7 @@ def main():
'src': ['test/core/end2end/tests/%s.c' % t],
'headers': ['test/core/end2end/tests/cancel_test_helpers.h']
}
for t in END2END_TESTS] + [
for t in sorted(END2END_TESTS)] + [
{
'name': 'end2end_certs',
'build': 'private',
@ -148,8 +150,24 @@ def main():
'gpr'
]
}
for f in END2END_FIXTURES
for t in END2END_TESTS]}
for f in sorted(END2END_FIXTURES.keys())
for t in sorted(END2END_TESTS)] + [
{
'name': '%s_%s_unsecure_test' % (f, t),
'build': 'test',
'language': 'c',
'src': [],
'deps': [
'end2end_fixture_%s' % f,
'end2end_test_%s' % t,
'grpc_test_util',
'grpc_unsecure',
'gpr_test_util',
'gpr'
]
}
for f in sorted(END2END_FIXTURES.keys()) if not END2END_FIXTURES[f]
for t in sorted(END2END_TESTS)]}
print simplejson.dumps(json, sort_keys=True, indent=2 * ' ')

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save