Lowerd max allowed warnings for cppcheck
This commit is contained in:
@@ -22,7 +22,7 @@ echo -e "${NC}"
|
|||||||
echo "Please Wait ..."
|
echo "Please Wait ..."
|
||||||
|
|
||||||
# Run cppcheck and output into file
|
# Run cppcheck and output into file
|
||||||
cppcheck --enable=all . -I src -i Doc/ -i src/Unittests --force --suppress=unusedFunction -UCTIME --suppress=missingIncludeSystem --inline-suppr --quiet -Umin -Umax -DOPENMESHDLLEXPORT="" -UPRIVATE_NODE_TYPESYSTEM_SOURCE -USO_NODE_ABSTRACT_SOURCE -USO_NODE_SOURCE -UCLOCK_REALTIME_HR -UBMPOSTFIX -UMIPS_WARN_WA -i src/OpenMesh/Apps/Unsupported/ 2>&1 | tee cppcheck.log
|
cppcheck --enable=all . -I src -i Doc/ -i src/Unittests --force --suppress=unusedFunction -UCTIME --suppress=missingIncludeSystem --inline-suppr --quiet -Umin -Umax -DOPENMESHDLLEXPORT="" -UPRIVATE_NODE_TYPESYSTEM_SOURCE -USO_NODE_ABSTRACT_SOURCE -USO_NODE_SOURCE -UCLOCK_REALTIME_HR -UBMPOSTFIX -i src/OpenMesh/Apps/Unsupported/ 2>&1 | tee cppcheck.log
|
||||||
|
|
||||||
COUNT=$(wc -l < cppcheck.log )
|
COUNT=$(wc -l < cppcheck.log )
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ echo "CPPCHECK Summary"
|
|||||||
echo "=============================================================================="
|
echo "=============================================================================="
|
||||||
echo -e "${NC}"
|
echo -e "${NC}"
|
||||||
|
|
||||||
MAX_COUNT=201
|
MAX_COUNT=168
|
||||||
|
|
||||||
if [ $COUNT -gt $MAX_COUNT ]; then
|
if [ $COUNT -gt $MAX_COUNT ]; then
|
||||||
echo -e ${WARNING}
|
echo -e ${WARNING}
|
||||||
|
|||||||
Reference in New Issue
Block a user