From d726a1e0469320deae5dcd080750ddfd5438b17a Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 26 Sep 2018 15:10:51 +0200 Subject: 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. --- t/cppcheck/cppcheck.supp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/cppcheck/cppcheck.supp') 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 -- cgit v1.2.3