diff options
author | Arvind Sankar <[email protected]> | 2020-06-26 18:26:03 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-06-27 17:40:15 -0700 |
commit | c79907f90174842fb5213893e476e5d5f5b44eca (patch) | |
tree | 4de511d9437a767e8e57583c62471e0269cb0a12 | |
parent | a86f0be8efc868b164b37a1952eb8c9b6da9a9a7 (diff) |
Move cppcheck suppressions out of .github
Move this file out of .github and add it to distribution.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Arvind Sankar <[email protected]>
Closes #10506
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | cppcheck-suppressions.txt (renamed from .github/suppressions.txt) | 0 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 1b6d431e4..432e04c07 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,6 +29,7 @@ endif AUTOMAKE_OPTIONS = foreign EXTRA_DIST = autogen.sh copy-builtin +EXTRA_DIST += cppcheck-suppressions.txt EXTRA_DIST += config/config.awk config/rpm.am config/deb.am config/tgz.am EXTRA_DIST += META AUTHORS COPYRIGHT LICENSE NEWS NOTICE README.md EXTRA_DIST += CODE_OF_CONDUCT.md @@ -176,7 +177,7 @@ lint: cppcheck paxcheck cppcheck: @if type cppcheck > /dev/null 2>&1; then \ cppcheck --quiet --force --error-exitcode=2 --inline-suppr \ - --suppressions-list=.github/suppressions.txt \ + --suppressions-list=${top_srcdir}/cppcheck-suppressions.txt \ -UHAVE_SSE2 -UHAVE_AVX512F -UHAVE_UIO_ZEROCOPY \ ${top_srcdir}; \ else \ diff --git a/.github/suppressions.txt b/cppcheck-suppressions.txt index b28514e67..b28514e67 100644 --- a/.github/suppressions.txt +++ b/cppcheck-suppressions.txt |