aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/boringssl
diff options
context:
space:
mode:
authorGravatar Matt Kwong <mattkwong@google.com>2018-01-31 11:34:48 -0800
committerGravatar Matt Kwong <mattkwong@google.com>2018-01-31 12:36:46 -0800
commit1b0168e207189e86e1e284d3a97112f3ba53dcf0 (patch)
tree02109b36ad625e7bc608cec989516f949f1ea792 /src/boringssl
parent74958c59e23b2b121419ee62967849415b252f4b (diff)
Add BoringSSL tests
Diffstat (limited to 'src/boringssl')
-rwxr-xr-xsrc/boringssl/gen_build_yaml.py36
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'])))
]
+
}