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.
This commit is contained in:
Simon Butcher 2016-08-24 22:37:43 +03:00
parent 4982e527c6
commit a4ed19c7c0

View file

@ -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