Skip to content
Snippets Groups Projects
Commit 2a191e39 authored by Nicolas Noble's avatar Nicolas Noble
Browse files

Merge pull request #1321 from ctiller/unsecure

Run capable test suites against grpc_unsecure
parents 5cc35963 c8b357f7
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
...@@ -34,15 +34,17 @@ ...@@ -34,15 +34,17 @@
import simplejson import simplejson
END2END_FIXTURES = [
'chttp2_fake_security', # maps fixture name to whether it requires the security library
'chttp2_fullstack', END2END_FIXTURES = {
'chttp2_fullstack_uds', 'chttp2_fake_security': True,
'chttp2_simple_ssl_fullstack', 'chttp2_fullstack': False,
'chttp2_simple_ssl_with_oauth2_fullstack', 'chttp2_fullstack_uds': False,
'chttp2_socket_pair', 'chttp2_simple_ssl_fullstack': True,
'chttp2_socket_pair_one_byte_at_a_time', 'chttp2_simple_ssl_with_oauth2_fullstack': True,
] 'chttp2_socket_pair': False,
'chttp2_socket_pair_one_byte_at_a_time': False,
}
END2END_TESTS = [ END2END_TESTS = [
...@@ -111,7 +113,7 @@ def main(): ...@@ -111,7 +113,7 @@ def main():
'secure': 'check', 'secure': 'check',
'src': ['test/core/end2end/fixtures/%s.c' % f] '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, 'name': 'end2end_test_%s' % t,
'build': 'private', 'build': 'private',
...@@ -120,7 +122,7 @@ def main(): ...@@ -120,7 +122,7 @@ def main():
'src': ['test/core/end2end/tests/%s.c' % t], 'src': ['test/core/end2end/tests/%s.c' % t],
'headers': ['test/core/end2end/tests/cancel_test_helpers.h'] 'headers': ['test/core/end2end/tests/cancel_test_helpers.h']
} }
for t in END2END_TESTS] + [ for t in sorted(END2END_TESTS)] + [
{ {
'name': 'end2end_certs', 'name': 'end2end_certs',
'build': 'private', 'build': 'private',
...@@ -148,8 +150,24 @@ def main(): ...@@ -148,8 +150,24 @@ def main():
'gpr' 'gpr'
] ]
} }
for f in END2END_FIXTURES for f in sorted(END2END_FIXTURES.keys())
for t in END2END_TESTS]} 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 * ' ') print simplejson.dumps(json, sort_keys=True, indent=2 * ' ')
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment