This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=bfecc8f132c74397eb0cd47891688067698c2c7d

commit bfecc8f132c74397eb0cd47891688067698c2c7d
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Fri Apr 26 09:48:42 2024 +0200

    test: Pass --check-level=exhaustive to cppcheck
    
    Starting with cppcheck 2.14.0, it emits an information level tag that it
    is not analyzing all branches, which makes the test suite fail.
    
    Warned-by: cppcheck (normalCheckLevelMaxBranches)
---
 t/cppcheck.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/cppcheck.t b/t/cppcheck.t
index 28d420fb5..f70cf3e9e 100644
--- a/t/cppcheck.t
+++ b/t/cppcheck.t
@@ -32,6 +32,7 @@ my @cppcheck_opts = (qw(
   --force
   --error-exitcode=2
   --inline-suppr
+  --check-level=exhaustive
   --suppressions-list=t/cppcheck/cppcheck.supp
   --std=c99 --std=c++03
   -Ilib

-- 
Dpkg.Org's dpkg

Reply via email to