From d86b8ac1116c53e3fcf6f860fbe37d09eec3f9c2 Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Wed, 20 Jul 2022 16:25:49 +0200 Subject: [PATCH] Fix test_psa_crypto_config_accel_hash_use_psa build when including libtestdriver1 PSA headers from programs Signed-off-by: Neil Armstrong --- tests/scripts/all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index f70dcd932..13cb6e6ed 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -1913,7 +1913,7 @@ component_test_psa_crypto_config_accel_hash_use_psa () { # but is already disabled in the default config loc_accel_flags="$loc_accel_flags $( echo "$loc_accel_list" | sed 's/[^ ]* */-DMBEDTLS_PSA_ACCEL_&/g' )" - make CFLAGS="$ASAN_CFLAGS -Werror -I../tests/include -I../tests -DPSA_CRYPTO_DRIVER_TEST -DMBEDTLS_TEST_LIBTESTDRIVER1 $loc_accel_flags" LDFLAGS="-ltestdriver1 $ASAN_CFLAGS" tests + make CFLAGS="$ASAN_CFLAGS -Werror -I../tests/include -I../tests -I../../tests -DPSA_CRYPTO_DRIVER_TEST -DMBEDTLS_TEST_LIBTESTDRIVER1 $loc_accel_flags" LDFLAGS="-ltestdriver1 $ASAN_CFLAGS" all # There's a risk of something getting re-enabled via config_psa.h; # make sure it did not happen.