From 46ed3a9834811d49b57fc4480b7bd7d1f8c2b32d Mon Sep 17 00:00:00 2001 From: Tom Cosgrove Date: Fri, 9 Jun 2023 12:21:53 +0100 Subject: [PATCH] Add an all.sh build test that catches the unterminated pragmas Signed-off-by: Tom Cosgrove --- tests/scripts/all.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 8242f88bcc..b7bf854214 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -3962,6 +3962,11 @@ component_build_armcc () { # ARM Compiler 6 - Target Cortex-M0 armc6_build_test "-Os --target=arm-arm-none-eabi -mcpu=cortex-m0" + + # Check that we handle "No mechanism to detect A64_CRYPTO found" properly + scripts/config.py set MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT + scripts/config.py set MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT + armc6_build_test "-Wno-#warnings -O1 --target=aarch64-arm-none-eabi -march=armv8.2-a+crypto" } support_build_armcc () { armc5_cc="$ARMC5_BIN_DIR/armcc"