From 1a034dcc20f303589aedbfc72d11bdf39ec00ec9 Mon Sep 17 00:00:00 2001 From: Dave Rodgman Date: Fri, 20 Jan 2023 13:18:05 +0000 Subject: [PATCH] Add regression test Signed-off-by: Dave Rodgman --- tests/scripts/all.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 1e10da04c1..bf40764921 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -1948,6 +1948,18 @@ component_test_depends_py_pkalgs_psa () { tests/scripts/depends.py pkalgs } +component_build_no_pk_rsa_alt_support () { + msg "build: !MBEDTLS_PK_RSA_ALT_SUPPORT" # ~30s + + scripts/config.py full + scripts/config.py unset MBEDTLS_PK_RSA_ALT_SUPPORT + scripts/config.py set MBEDTLS_RSA_C + scripts/config.py set MBEDTLS_X509_CRT_WRITE_C + + # Only compile - this is primarily to test for compile issues + make CC=gcc CFLAGS='-Werror -Wall -Wextra -I../tests/include/alt-dummy' +} + component_build_module_alt () { msg "build: MBEDTLS_XXX_ALT" # ~30s scripts/config.py full