Add BoringSSL tests

pull/14256/head
Matt Kwong 7 years ago
parent 74958c59e2
commit 1b0168e207
  1. 2058
      Makefile
  2. 36
      src/boringssl/gen_build_yaml.py
  3. 686
      tools/run_tests/generated/sources_and_headers.json
  4. 1274
      tools/run_tests/generated/tests.json

2058
Makefile

File diff suppressed because it is too large Load Diff

@ -100,7 +100,43 @@ class Grpc(object):
] ]
} }
for test in list(sorted(set(files['ssl_test'] + files['crypto_test']))) 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'])))
] ]
} }

@ -4411,6 +4411,692 @@
"third_party": false, "third_party": false,
"type": "target" "type": "target"
}, },
{
"deps": [
"boringssl",
"boringssl_crypto_test_data_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_crypto_test_data",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_asn1_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_asn1_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_base64_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_base64_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_bio_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_bio_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_bytestring_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_bytestring_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_chacha_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_chacha_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_aead_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_aead_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_cipher_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_cipher_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_cmac_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_cmac_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_compiler_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_compiler_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_constant_time_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_constant_time_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_ed25519_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_ed25519_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_spake25519_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_spake25519_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_test_util",
"boringssl_x25519_test_lib"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_x25519_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_dh_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_dh_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_digest_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_digest_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_dsa_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_dsa_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_ecdh_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_ecdh_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_err_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_err_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_evp_extra_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_evp_extra_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_evp_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_evp_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_pbkdf_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_pbkdf_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_scrypt_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_scrypt_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_aes_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_aes_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_bn_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_bn_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_ec_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_ec_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_p256-x86_64_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_p256-x86_64_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_ecdsa_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_ecdsa_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_gcm_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_gcm_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_ctrdrbg_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_ctrdrbg_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_hkdf_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_hkdf_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_hmac_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_hmac_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_lhash_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_lhash_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_obj_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_obj_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_pkcs7_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_pkcs7_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_pkcs12_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_pkcs12_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_pkcs8_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_pkcs8_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_poly1305_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_poly1305_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_pool_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_pool_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_refcount_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_refcount_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_rsa_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_rsa_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_file_test_gtest_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_file_test_gtest",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_gtest_main_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_gtest_main",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_test_util",
"boringssl_thread_test_lib"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_thread_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_test_util",
"boringssl_x509_test_lib"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_x509_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_tab_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_tab_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_test_util",
"boringssl_v3name_test_lib"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_v3name_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_span_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_span_test",
"src": [],
"third_party": true,
"type": "target"
},
{
"deps": [
"boringssl",
"boringssl_ssl_test_lib",
"boringssl_test_util"
],
"headers": [],
"is_filegroup": false,
"language": "c++",
"name": "boringssl_ssl_test",
"src": [],
"third_party": true,
"type": "target"
},
{ {
"deps": [ "deps": [
"bad_client_test", "bad_client_test",

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save