diff options
-rwxr-xr-x | tools/ci/jobs/cpplint.sh | 2 | ||||
-rwxr-xr-x | tools/ci/scripts/init.sh | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tools/ci/jobs/cpplint.sh b/tools/ci/jobs/cpplint.sh index d05ac9ff7..e9e286f23 100755 --- a/tools/ci/jobs/cpplint.sh +++ b/tools/ci/jobs/cpplint.sh @@ -40,7 +40,7 @@ find src -type f -name "*.h" -exec $CHECKER {} \; 2>>${ERRFILE}2 find src -type f -name "*.cc" -exec $CHECKER {} \; 2>>${ERRFILE}2 grep ": " ${ERRFILE}2 | \ -grep -v "debug_new" | \ +grep -v "src/debug/" | \ grep -v "test/doctest.h" | \ grep -v "debug/fast_mutex" | \ grep -v "sdl2gfx/SDL2" \ diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh index 1ba3347de..9969a82ec 100755 --- a/tools/ci/scripts/init.sh +++ b/tools/ci/scripts/init.sh @@ -276,6 +276,9 @@ function run_tarball { function run_mplint { rm $ERRFILE echo "mplint/src/mplint $*" - mplint/src/mplint $* | grep -v "src/test/doctest.h" >$ERRFILE + mplint/src/mplint $* \ + | grep -v "src/test/doctest.h" \ + | grep -v "src/debug/" \ + >$ERRFILE run_check_warnings } |