1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Ensure test_psa_compliance uses gcc

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman
2023-12-18 19:55:40 +00:00
parent e0a2f6d08d
commit b0660c22d9

View File

@ -3582,9 +3582,10 @@ component_test_zeroize () {
} }
component_test_psa_compliance () { component_test_psa_compliance () {
# The arch tests build with gcc, so require use of gcc here to link properly
msg "build: make, default config + CMAC, libmbedcrypto.a only" msg "build: make, default config + CMAC, libmbedcrypto.a only"
scripts/config.py set MBEDTLS_CMAC_C scripts/config.py set MBEDTLS_CMAC_C
make -C library libmbedcrypto.a CC=gcc make -C library libmbedcrypto.a
msg "unit test: test_psa_compliance.py" msg "unit test: test_psa_compliance.py"
./tests/scripts/test_psa_compliance.py ./tests/scripts/test_psa_compliance.py