diff options
author | Guillem Jover <guillem@debian.org> | 2018-09-26 15:10:51 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2018-09-26 19:35:56 +0200 |
commit | d726a1e0469320deae5dcd080750ddfd5438b17a (patch) | |
tree | d5dd47068d1685a2213643c80fb989cb1d71e2d7 /t/cppcheck | |
parent | a71a4bceba236e4dcd511c24e7b43851180ab4a5 (diff) | |
download | dpkg-d726a1e0469320deae5dcd080750ddfd5438b17a.tar.gz |
test: Change cppcheck test to cope with CPAN distribution paths
The paths are different in the CPAN distribution, so we need to use a
glob to catch the file in both layouts.
Diffstat (limited to 't/cppcheck')
-rw-r--r-- | t/cppcheck/cppcheck.supp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/cppcheck/cppcheck.supp b/t/cppcheck/cppcheck.supp index 37e4a9ef9..e7888e513 100644 --- a/t/cppcheck/cppcheck.supp +++ b/t/cppcheck/cppcheck.supp @@ -19,7 +19,7 @@ knownConditionTrueFalse:src/script.c:162 literalWithCharPtrCompare:lib/dpkg/t/t-test.c // Ignore, the code is used only for its binary artifacts. -uninitMemberVar:scripts/t/Dpkg_Shlibs/patterns.cpp +uninitMemberVar:*/Dpkg_Shlibs/patterns.cpp // BUG: False positive, the macros from lib/dpkg/dlist.h use the tail member. unusedStructMember:lib/dpkg/triglib.c:378 |