[dpdk-dev] [PATCH 2/2] devtools: added stats print
Thomas Monjalon
thomas at monjalon.net
Sat Feb 22 21:55:01 CET 2020
28/01/2020 16:02, Ciara Power:
> When all checks are completed on the specified commit logs, the script
> indicates if all are valid, or if there were some failures.
I think the most important would be to have an error code.
Please could you exit with 0 only if no issue is found?
[...]
> +total=$(echo "$commits" | wc -l)
> +if $failure ; then
> + printf "\nInvalid patch(es) found - checked $total patch"
> +else
> + printf "\n$total/$total valid patch"
> +fi
> +[ $total -le 1 ] || printf 'es'
> +printf '\n'
More information about the dev
mailing list