mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-12 06:10:02 -04:00
Use util/suppressions.txt for Cppcheck suppressions list
This commit is contained in:
parent
36b0c5a517
commit
2ae68cd120
2 changed files with 8 additions and 1 deletions
|
|
@ -228,7 +228,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
util/suppressions.txt
Normal file
5
util/suppressions.txt
Normal 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
|
||||
Loading…
Reference in a new issue