From 129e41322b7c9bb5d366e052ee5c6df2c9c09824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 13 Mar 2015 17:29:18 +0100 Subject: [PATCH] Actually use armcc for the armcc test ^^' --- tests/scripts/all.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 14c925d41..904ea4bb5 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -184,8 +184,11 @@ scripts/config.pl unset POLARSSL_THREADING_PTHREAD scripts/config.pl unset POLARSSL_THREADING_C scripts/config.pl unset POLARSSL_MEMORY_BACKTRACE # execinfo.h scripts/config.pl unset POLARSSL_MEMORY_BUFFER_ALLOC_C # calls exit -CC=arm-none-eabi-gcc CFLAGS=-Werror make lib 2> armcc.stderr -grep -v '^ar: creating' armcc.stderr || exit 1 +CC=armcc WARNING_CFLAGS= make lib 2> armcc.stderr +if [ -s armcc.stderr ]; then + cat armcc.stderr + exit 1; +fi rm armcc.stderr fi # armcc