mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-23 06:01:11 +00:00
all.sh: Return error on keep-going failure
When calling all.sh from a script and using "--keep-going", errors were sometimes missed due to all.sh always returning 0 "success" return code. Return 1 if there is any failure encountered during a "keep-going" run.
This commit is contained in:
parent
57e9fe2df4
commit
7ef1f5b0c6
|
@ -308,6 +308,7 @@ $text"
|
|||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
echo "${start_red}FAILED: $failure_count${end_color}$failure_summary"
|
||||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
exit 1
|
||||
elif [ -z "${1-}" ]; then
|
||||
echo "SUCCESS :)"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue