diff --git a/tests/scripts/components-configuration.sh b/tests/scripts/components-configuration.sh index 5fd9ede124..4f212be60d 100644 --- a/tests/scripts/components-configuration.sh +++ b/tests/scripts/components-configuration.sh @@ -351,3 +351,16 @@ 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 +# Will be removed according to this issue: +# https://github.com/Mbed-TLS/mbedtls/issues/10203 +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 +}