Commit 2528b837 authored by Martin Heistermann's avatar Martin Heistermann

cppcheck options, lower max warning limit

parent d5c746c1
......@@ -30,8 +30,8 @@ echo "Please Wait ..."
# for the public library interface)
cppcheck \
--project=${BUILDPATH}/compile_commands.json \
--force \
--enable=warning,performance,portability,information,missingInclude \
--suppress=missingIncludeSystem \
--inline-suppr \
--quiet \
2>&1 | tee cppcheck.log
......@@ -44,7 +44,7 @@ echo "CPPCHECK Summary"
echo "=============================================================================="
echo -e "${NC}"
if [ $COUNT -gt 5 ]; then
if [ $COUNT -gt 3 ]; then
echo -e ${WARNING}
echo "Total CPPCHECK error Count is $COUNT, which is too High! CPPCHECK Run failed";
echo -e "${NC}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment