From 8e5ee478e115f6e72209028909537ec42f48a170 Mon Sep 17 00:00:00 2001 From: Gabor Mezei Date: Mon, 2 Jun 2025 12:31:15 +0200 Subject: [PATCH] Add temporary component for SHA3 testing With the removal of MBEDTLS_SHA3_C the test cases with disabled SHA3 dependency are never executed. Adding a temporary `all.sh` component which disabling the `PSA_WANT_ALG_SHA3_*` macros to cover these test cases. Signed-off-by: Gabor Mezei --- tests/scripts/components-configuration.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/scripts/components-configuration.sh b/tests/scripts/components-configuration.sh index 5fd9ede124..b1e633271e 100644 --- a/tests/scripts/components-configuration.sh +++ b/tests/scripts/components-configuration.sh @@ -351,3 +351,15 @@ component_test_memory_buffer_allocator () { # MBEDTLS_MEMORY_BUFFER_ALLOC is slow. Skip tests that tend to time out. tests/ssl-opt.sh -e '^DTLS proxy' } + +# Temporary component for SHA3 config option removal +# Must be removed when SHA3 removal is merged +component_test_full_no_sha3 () { + msg "build: full config without SHA3" + scripts/config.py full + scripts/config.py unset-all PSA_WANT_ALG_SHA3_* + make + + msg "test: full - PSA_WANT_ALG_SHA3_*" + make test +}