Allow some errors in cppcheck

This commit is contained in:
Jan Möbius
2017-02-06 09:54:02 +01:00
parent 9fbf5033b2
commit bc70351587

View File

@@ -38,9 +38,11 @@ echo "CPPCHECK Summary"
echo "==============================================================================" echo "=============================================================================="
echo -e "${NC}" echo -e "${NC}"
if [ $COUNT -gt 8 ]; then MAX_COUNT=8
if [ $COUNT -gt $MAX_COUNT ]; then
echo -e ${WARNING} 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}" echo -e "${NC}"
exit 1; exit 1;
else else