diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c985152e39..d5e7d205c0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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" \ diff --git a/util/suppressions.txt b/util/suppressions.txt new file mode 100644 index 0000000000..dbfa38b4af --- /dev/null +++ b/util/suppressions.txt @@ -0,0 +1,2 @@ +unmatchedSuppression:* +preprocessorErrorDirective:*