Add DTLS-only build + test to all.sh

This commit is contained in:
Hanno Becker 2019-07-26 12:22:50 +01:00
parent 73b72d1890
commit baac25d2bf

View File

@ -639,6 +639,19 @@ component_test_sslv3 () {
if_build_succeeded tests/ssl-opt.sh
}
component_test_dtls_only () {
msg "build: Default + DTLS only (ASan build)" # ~ 6 min
scripts/config.pl set MBEDTLS_SSL_PROTO_NO_TLS
CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan .
make
msg "test: DTLS only - main suites (inc. selftests) (ASan build)" # ~ 50s
make test
msg "build: DTLS only - ssl-opt.sh (ASan build)" # ~ 6 min
if_build_succeeded tests/ssl-opt.sh
}
component_test_no_renegotiation () {
msg "build: Default + !MBEDTLS_SSL_RENEGOTIATION (ASan build)" # ~ 6 min
scripts/config.pl unset MBEDTLS_SSL_RENEGOTIATION