From d66d13eaa9a4af7a3575dc7985c9a7cbed2d5d4f Mon Sep 17 00:00:00 2001 From: Andrzej Kurek Date: Thu, 15 Oct 2020 09:54:49 +0200 Subject: [PATCH] Add a no-strict build to armcc baremetal tests in all.sh Signed-off-by: Andrzej Kurek --- tests/scripts/all.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 5439b854b..7ae142502 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -1634,15 +1634,21 @@ component_build_arm_none_eabi_gcc_no_64bit_multiplication () { } component_build_armcc () { - msg "build: ARM Compiler 5" + msg "build: ARM Compiler 5 strict" scripts/config.pl baremetal make CC="$ARMC5_CC" AR="$ARMC5_AR" WARNING_CFLAGS='--strict --c99' lib - msg "size: ARM Compiler 5" + msg "size: ARM Compiler 5 strict" "$ARMC5_FROMELF" -z library/*.o make clean + msg "build: ARM Compiler 5 non strict" + make CC="$ARMC5_CC" AR="$ARMC5_AR" WARNING_CFLAGS='--c99' lib + + msg "size: ARM Compiler 5 non strict" + "$ARMC5_FROMELF" -z library/*.o + # ARM Compiler 6 - Target ARMv7-A armc6_build_test "--target=arm-arm-none-eabi -march=armv7-a"