mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-26 13:55:35 +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
a063fff51a
commit
5113bdec6e
|
@ -336,6 +336,7 @@ $text"
|
||||||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||||
echo "${start_red}FAILED: $failure_count${end_color}$failure_summary"
|
echo "${start_red}FAILED: $failure_count${end_color}$failure_summary"
|
||||||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||||
|
exit 1
|
||||||
elif [ -z "${1-}" ]; then
|
elif [ -z "${1-}" ]; then
|
||||||
echo "SUCCESS :)"
|
echo "SUCCESS :)"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue