From dda52ae1c6521f6079a7edfda1f49c5acaaabc8a Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Wed, 20 Dec 2023 11:10:16 +0000 Subject: [PATCH] Add all.sh coponent to test with copying disabled Signed-off-by: David Horstmann --- tests/scripts/all.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index aae020976d..02513e903a 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -922,6 +922,17 @@ component_test_psa_crypto_key_id_encodes_owner () { make test } +component_test_no_psa_copy_caller_buffers () { + msg "build: full config - MBEDTLS_PSA_COPY_CALLER_BUFFERS, cmake, gcc, ASan" + scripts/config.py full + scripts/config.py unset MBEDTLS_PSA_COPY_CALLER_BUFFERS + CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan . + make + + msg "test: full config - MBEDTLS_PSA_COPY_CALLER_BUFFERS, cmake, gcc, ASan" + make test +} + # check_renamed_symbols HEADER LIB # Check that if HEADER contains '#define MACRO ...' then MACRO is not a symbol # name is LIB.