diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-07 02:03:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-07 02:03:51 +0300 |
commit | e0a0ca437398c47f25d10ebedaa8a3c66ce78364 (patch) | |
tree | 3340c03224b803726e7feb6f4cbf10c921b627d5 /tools | |
parent | 0d8bf5c03a083abb5b23d34f2c97d73c539a23a6 (diff) | |
download | mv-e0a0ca437398c47f25d10ebedaa8a3c66ce78364.tar.gz mv-e0a0ca437398c47f25d10ebedaa8a3c66ce78364.tar.bz2 mv-e0a0ca437398c47f25d10ebedaa8a3c66ce78364.tar.xz mv-e0a0ca437398c47f25d10ebedaa8a3c66ce78364.zip |
Add debug directory into cpplint and mplint ignores.
Diffstat (limited to 'tools')
-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 } |