tests: Accept 77 error code
This can happen in some cases (e.g. outdated umockdev), so accept error 77 (skipped test). Related: #1981216
This commit is contained in:
parent
05fc6f195f
commit
7390bdeae6
|
@ -31,7 +31,10 @@ for test in ${TESTS[@]}; do
|
|||
RES=$?
|
||||
echo "$test finished with return code $RES"
|
||||
echo ""
|
||||
((RESULT += $RES))
|
||||
# Ignore skipped tests
|
||||
if [ $RES -ne 0 -a $RES -ne 77 ]; then
|
||||
RESULT=1
|
||||
fi
|
||||
done
|
||||
|
||||
exit $RESULT
|
||||
|
|
Loading…
Reference in New Issue