From 1b0168e207189e86e1e284d3a97112f3ba53dcf0 Mon Sep 17 00:00:00 2001 From: Matt Kwong Date: Wed, 31 Jan 2018 11:34:48 -0800 Subject: Add BoringSSL tests --- src/boringssl/gen_build_yaml.py | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'src/boringssl') diff --git a/src/boringssl/gen_build_yaml.py b/src/boringssl/gen_build_yaml.py index b5b5549d00..221cbe7fd5 100755 --- a/src/boringssl/gen_build_yaml.py +++ b/src/boringssl/gen_build_yaml.py @@ -100,7 +100,43 @@ class Grpc(object): ] } for test in list(sorted(set(files['ssl_test'] + files['crypto_test']))) + ], + 'targets': [ + { + 'name': 'boringssl_%s' % os.path.splitext(os.path.basename(test))[0], + 'build': 'test', + 'run': False, + 'secure': 'no', + 'language': 'c++', + 'src': ["third_party/boringssl/crypto/test/gtest_main.cc"], + 'vs_proj_dir': 'test/boringssl', + 'boringssl': True, + 'defaults': 'boringssl', + 'deps': [ + 'boringssl_%s_lib' % os.path.splitext(os.path.basename(test))[0], + 'boringssl_test_util', + 'boringssl', + ] + } + for test in list(sorted(set(files['ssl_test'] + files['crypto_test']))) + ], + 'tests': [ + { + 'name': 'boringssl_%s' % os.path.splitext(os.path.basename(test))[0], + 'args': [], + 'exclude_configs': ['asan', 'ubsan'], + 'ci_platforms': ['linux', 'mac', 'posix', 'windows'], + 'platforms': ['linux', 'mac', 'posix', 'windows'], + 'flaky': False, + 'gtest': True, + 'language': 'c++', + 'boringssl': True, + 'defaults': 'boringssl', + 'cpu_cost': 1.0 + } + for test in list(sorted(set(files['ssl_test'] + files['crypto_test']))) ] + } -- cgit v1.2.3