Commit bc703515 by Jan Möbius

Allow some errors in cppcheck

parent 9fbf5033
Pipeline #4230 canceled with stage
in 0 seconds
......@@ -38,9 +38,11 @@ echo "CPPCHECK Summary"
echo "=============================================================================="
echo -e "${NC}"
if [ $COUNT -gt 8 ]; then
MAX_COUNT=8
if [ $COUNT -gt $MAX_COUNT ]; 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_COUNT)! 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 sign in to comment