Merge branch 'master' into Remove_cpp98

This commit is contained in:
Jan Möbius
2017-02-06 10:08:24 +01:00
13 changed files with 324 additions and 319 deletions

View File

@@ -38,9 +38,11 @@ echo "CPPCHECK Summary"
echo "=============================================================================="
echo -e "${NC}"
if [ $COUNT -gt 0 ]; 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