Commit fb128ffa authored by Jan Möbius's avatar Jan Möbius

Allow more cppcheck errors

parent 1443732c
......@@ -59,9 +59,11 @@ echo "CPPCHECK Summary"
echo "=============================================================================="
echo -e "${NC}"
if [ $COUNT -gt 25 ]; then
MAX_ERROR=364
if [ $COUNT -gt $MAX_ERROR ]; then
echo -e ${WARNING}
echo "Total CPPCHECK error Count is $COUNT, which is too High! CPPCHECK Run failed";
echo "Total CPPCHECK error Count is $COUNT, which is too High (Max is $MAX_ERROR)! CPPCHECK Run failed";
echo -e "${NC}"
exit 1;
else
......
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