Add all.sh coponent to test with copying disabled
Signed-off-by: David Horstmann <david.horstmann@arm.com>
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index aae0209..02513e9 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -922,6 +922,17 @@
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.