tests: Accept 77 error code
This can happen in some cases (e.g. outdated umockdev), so accept error 77 (skipped test).
This commit is contained in:
parent
41b48ba54b
commit
d4c27761b3
|
@ -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