mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user