Exit with a failure status if some tests failed

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2020-04-09 18:28:14 +02:00
parent 64cad2fa07
commit dd7ea389ff

View file

@ -217,3 +217,7 @@ make clean
if [ -f "$CONFIG_BAK" ]; then
mv "$CONFIG_BAK" "$CONFIG_H"
fi
if [ $TOTAL_FAIL -ne 0 ]; then
exit 1
fi