aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/gen_build_json.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/end2end/gen_build_json.py')
-rwxr-xr-xtest/core/end2end/gen_build_json.py45
1 files changed, 32 insertions, 13 deletions
diff --git a/test/core/end2end/gen_build_json.py b/test/core/end2end/gen_build_json.py
index 23349daafe..9786ec0c6d 100755
--- a/test/core/end2end/gen_build_json.py
+++ b/test/core/end2end/gen_build_json.py
@@ -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 = [
@@ -69,6 +71,7 @@ END2END_TESTS = [
'request_with_payload',
'simple_delayed_request',
'simple_request',
+ 'registered_call',
'thread_stress',
'writes_done_hangs_with_pending_read',
@@ -110,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',
@@ -119,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',
@@ -147,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 * ' ')