From d2cb7f42688643fd7439c4a733168dccb6fe6e58 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Mon, 18 Mar 2024 12:49:18 +0100 Subject: [PATCH] all.sh: Add TLS 1.2 only component Signed-off-by: Ronald Cron --- tests/scripts/all.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index f0bf7f6119b1..e17d5ac9b993 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -5872,6 +5872,22 @@ support_build_armcc () { (check_tools "$armc5_cc" "$armc6_cc" > /dev/null 2>&1) } +component_test_tls12_only () { + msg "build: default config without MBEDTLS_SSL_PROTO_TLS1_3, cmake, gcc, ASan" + scripts/config.py unset MBEDTLS_SSL_PROTO_TLS1_3 + CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan . + make + + msg "test: main suites (inc. selftests) (ASan build)" + make test + + msg "test: ssl-opt.sh (ASan build)" + tests/ssl-opt.sh + + msg "test: compat.sh (ASan build)" + tests/compat.sh +} + component_test_tls13_only () { msg "build: default config without MBEDTLS_SSL_PROTO_TLS1_2" scripts/config.py set MBEDTLS_SSL_EARLY_DATA