Re: [dpdk-dev] [PATCH] devtools: add cppcheck wrapper

2021-05-20 Thread Thomas Monjalon
11/02/2021 18:27, Ferruh Yigit: > +CPPCHECK_BIN=cppcheck > +out=cppcheck_error.txt In general we generate files in $(mktemp -t dpdk.cppcheck.XX) The path is printed at the end anyway. > + > +which ${CPPCHECK_BIN} > /dev/null 2> /dev/null > +if [ $? -ne 0 ]; then > + echo "${CPPCHECK_BIN}

[dpdk-dev] [PATCH] devtools: add cppcheck wrapper

2021-02-11 Thread Ferruh Yigit
Adding wrapper script for cppcheck code analysis tool. usage: cppcheck.sh [-h] [path] Without any argument current folder scanned with all sub folders, if 'path' argument provided, that 'path' is scanned with all its subfolders, like: "./devtools/cppcheck.sh lib/librte_ethdev/" The output log is