From e0a0ca437398c47f25d10ebedaa8a3c66ce78364 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 7 Jul 2017 02:03:51 +0300 Subject: Add debug directory into cpplint and mplint ignores. --- tools/ci/jobs/cpplint.sh | 2 +- tools/ci/scripts/init.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'tools') 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 } -- cgit v1.2.3-70-g09d2