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:
@@ -31,7 +31,10 @@ for test in ${TESTS[@]}; do
|
|||||||
RES=$?
|
RES=$?
|
||||||
echo "$test finished with return code $RES"
|
echo "$test finished with return code $RES"
|
||||||
echo ""
|
echo ""
|
||||||
((RESULT += $RES))
|
# Ignore skipped tests
|
||||||
|
if [ $RES -ne 0 -a $RES -ne 77 ]; then
|
||||||
|
RESULT=1
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
exit $RESULT
|
exit $RESULT
|
||||||
|
|||||||
Reference in New Issue
Block a user