mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 17:55:37 +00:00
Add test to all.sh
This commit adds a `make test` and `ssl-opt.sh` run to `all.sh` exercising the default configuration, plus the following changes: - MBEDTLS_SSL_KEEP_PEER_CERTIFICATE disabled - MBEDTLS_X509_ON_DEMAND_PARSING enabled.
This commit is contained in:
parent
008d304d1b
commit
bfabd1dfae
|
@ -918,6 +918,20 @@ component_test_asan_remove_peer_certificate_no_renego () {
|
||||||
if_build_succeeded tests/compat.sh
|
if_build_succeeded tests/compat.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
component_test_asan_on_demand_parsing_remove_peer_cert () {
|
||||||
|
msg "build: default config, no peer CRT, on-demand CRT parsing (ASan build)"
|
||||||
|
scripts/config.pl unset MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
|
||||||
|
scripts/config.pl set MBEDTLS_X509_ON_DEMAND_PARSING
|
||||||
|
CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan .
|
||||||
|
make
|
||||||
|
|
||||||
|
msg "test: !MBEDTLS_SSL_KEEP_PEER_CERTIFICATE, MBEDTLS_X509_ON_DEMAND_PARSING"
|
||||||
|
make test
|
||||||
|
|
||||||
|
msg "test: ssl-opt.sh, !MBEDTLS_SSL_KEEP_PEER_CERTIFICATE, MBEDTLS_X509_ON_DEMAND_PARSING"
|
||||||
|
if_build_succeeded tests/ssl-opt.sh
|
||||||
|
}
|
||||||
|
|
||||||
component_test_no_max_fragment_length_small_ssl_out_content_len () {
|
component_test_no_max_fragment_length_small_ssl_out_content_len () {
|
||||||
msg "build: no MFL extension, small SSL_OUT_CONTENT_LEN (ASan build)"
|
msg "build: no MFL extension, small SSL_OUT_CONTENT_LEN (ASan build)"
|
||||||
scripts/config.pl unset MBEDTLS_SSL_MAX_FRAGMENT_LENGTH
|
scripts/config.pl unset MBEDTLS_SSL_MAX_FRAGMENT_LENGTH
|
||||||
|
|
Loading…
Reference in a new issue