diff options
author | Matt Kwong <mattkwong@google.com> | 2018-01-31 11:34:48 -0800 |
---|---|---|
committer | Matt Kwong <mattkwong@google.com> | 2018-01-31 12:36:46 -0800 |
commit | 1b0168e207189e86e1e284d3a97112f3ba53dcf0 (patch) | |
tree | 02109b36ad625e7bc608cec989516f949f1ea792 /src/boringssl | |
parent | 74958c59e23b2b121419ee62967849415b252f4b (diff) |
Add BoringSSL tests
Diffstat (limited to 'src/boringssl')
-rwxr-xr-x | src/boringssl/gen_build_yaml.py | 36 |
1 files changed, 36 insertions, 0 deletions
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']))) ] + } |