Merge branch 'ondrej/cppcheck-suppressions-list' into 'master'

Use util/suppressions.txt for Cppcheck suppressions list

See merge request isc-projects/bind9!2437
This commit is contained in:
Ondřej Surý 2019-10-03 10:10:14 -04:00
commit 52f0009be6
2 changed files with 5 additions and 1 deletions

View file

@ -235,7 +235,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" \

2
util/suppressions.txt Normal file
View file

@ -0,0 +1,2 @@
unmatchedSuppression:*
preprocessorErrorDirective:*