1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

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 <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei
2025-06-02 12:31:15 +02:00
parent 80b697d78a
commit 8e5ee478e1

View File

@ -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
}