diff --git a/ci/cppcheck-misra.sh b/ci/cppcheck-misra.sh index c786402d6fe80667b7674e424f951db08d2c8398..737eb6f217aeb121635dd5cf225b4d3121f1c7e9 100755 --- a/ci/cppcheck-misra.sh +++ b/ci/cppcheck-misra.sh @@ -34,5 +34,4 @@ python3 ci/summarizer.py --report ci/report.msr --suppress 3.1 5.1 5.2 5.3 12.3 # clean up old files echo -e "\u001b[34;1mRemoving dump files...\u001b[0m" echo > ci/report.msr # clear the report file -find inc/ src/ -type f -name "*.dump" | xargs rm - +find inc/ src/ -type f -name "*.dump" | xargs rm -rf diff --git a/ci/cppcheck.sh b/ci/cppcheck.sh index 8252d5a24d4d604f4d7acfb8c792021dee4019b0..2179a051c88e90de9c07d7f9898422c4c38beb6f 100755 --- a/ci/cppcheck.sh +++ b/ci/cppcheck.sh @@ -12,4 +12,5 @@ echo -e "\u001b[34;1mStarting cppcheck...\u001b[0m" echo -e "\u001b[34;1mRunning cppcheck with default checklist...\u001b[0m" cd "$(dirname "$0")/.." -cppcheck --enable=all --error-exitcode=1 -I inc src test +cppcheck --enable=all --suppress=unusedFunction --suppress=noExplicitConstructor \ + --inline-suppr --error-exitcode=1 -I inc src test