Skip to content

Commit aa19698

Browse files
authored
Merge pull request #1412 from mpg/bypass-wrappers-prelim
[dev] Make test more robust
2 parents 7f60c7d + 73728d5 commit aa19698

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/scripts/components-configuration-crypto.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,8 @@ common_test_psa_crypto_config_accel_ecc_some_curves () {
854854
ALG_SHA3_224 ALG_SHA3_256 ALG_SHA3_384 ALG_SHA3_512"
855855
helper_libtestdriver1_make_drivers "$loc_accel_list" "$loc_extra_list"
856856

857-
helper_libtestdriver1_make_main "$loc_accel_list"
857+
# For grep to work below we need less inlining in ecp.c
858+
ASAN_CFLAGS="$ASAN_CFLAGS -O0" helper_libtestdriver1_make_main "$loc_accel_list"
858859

859860
# We expect ECDH to be re-enabled for the missing curves
860861
grep mbedtls_ecdh_ ${BUILTIN_SRC_PATH}/ecdh.o

0 commit comments

Comments
 (0)