From a4ed19c7c09493b4d3d7e4333330f44cdb73500d Mon Sep 17 00:00:00 2001 From: Simon Butcher Date: Wed, 24 Aug 2016 22:37:43 +0300 Subject: [PATCH] Fixes test script all.sh to output errors from armcc The test script tests/scripts/all.sh exits on first error, although it also attempted to redirect error output from armcc and then output it after armcc had completed. This never occurred because as soon as armcc failed the script would end and the redirected output wouldn't be displayed. This change removes that redirection. --- tests/scripts/all.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 5c18f4dd0..22137cd43 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -338,12 +338,7 @@ scripts/config.pl unset MBEDTLS_THREADING_PTHREAD scripts/config.pl unset MBEDTLS_THREADING_C scripts/config.pl unset MBEDTLS_MEMORY_BACKTRACE # execinfo.h scripts/config.pl unset MBEDTLS_MEMORY_BUFFER_ALLOC_C # calls exit -CC=armcc AR=armar WARNING_CFLAGS= make lib 2> armcc.stderr -if [ -s armcc.stderr ]; then - cat armcc.stderr - exit 1; -fi -rm armcc.stderr +CC=armcc AR=armar WARNING_CFLAGS= make lib fi # armcc if which i686-w64-mingw32-gcc >/dev/null; then