X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-cppcheck.sh;fp=tests%2Ftest-cppcheck.sh;h=0ecbe4338873139666fe4d5c8443aab79fd253ad;hb=59e34ccd1ca5cacf090bac893a6a1773d2249c94;hp=0000000000000000000000000000000000000000;hpb=424837d2c3951bc38d3b2030ec6668a36bc6ce00;p=psensor.git diff --git a/tests/test-cppcheck.sh b/tests/test-cppcheck.sh new file mode 100644 index 0000000..0ecbe43 --- /dev/null +++ b/tests/test-cppcheck.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +EIDS=performance,portability,information,unusedFunction,missingInclude + +cppcheck ../src -I../src/lib -I../src -I.. --enable=$EIDS --quiet --error-exitcode=1 || exit 1 \ No newline at end of file