Use util/suppressions.txt for Cppcheck suppressions list

This commit is contained in:
Ondřej Surý
2019-10-03 14:42:30 +02:00
parent fc48cdf6a9
commit 8e02b7fbfc
2 changed files with 8 additions and 1 deletions
+3 -1
View File
@@ -229,7 +229,9 @@ stages:
-j ${TEST_PARALLEL_JOBS:-1} \
--xml \
--output-file=cppcheck.results \
--inline-suppr
--relative-paths="$CI_PROJECT_DIR" \
--inline-suppr \
--suppressions-list=util/suppressions.txt
.cppcheck_report: &cppcheck_report_html |
cppcheck-htmlreport --title="BIND 9 ($CI_COMMIT_SHORT_SHA) Cppcheck Report" \
+5
View File
@@ -0,0 +1,5 @@
unmatchedSuppression:*
preprocessorErrorDirective:*
invalidPrintfArgType_uint:bin/dig/dig.c
invalidPrintfArgType_sint:lib/isc/buffer.c
invalidPrintfArgType_uint:lib/isc/tests/crc64_test.c