File: test-cppcheck.sh-check-level%3Dexhaustive.patch

package info (click to toggle)
psensor 1.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,216 kB
  • sloc: javascript: 14,982; ansic: 7,696; perl: 5,119; sh: 4,979; makefile: 379; xml: 223; sed: 16
file content (16 lines) | stat: -rw-r--r-- 636 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: cppcheck: Run with --check-level=exhaustive
Author: xiao sheng wen <atzlinux@sina.com>
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/1071336

---
Last-Update: 2024-05-31

--- psensor-1.2.1.orig/tests/test-cppcheck.sh
+++ psensor-1.2.1/tests/test-cppcheck.sh
@@ -4,4 +4,4 @@ EIDS=performance,portability
 ROOTDIR="$srcdir/.."
 INCLUDE_OPTS="-q -f -I$ROOTDIR/src/lib -I$ROOTDIR/src -I$ROOTDIR -I$ROOTDIR/.."
 
-cppcheck $ROOTDIR/src $INCLUDE_OPTS --enable=$EIDS --quiet --error-exitcode=1 || exit 1
+cppcheck $ROOTDIR/src $INCLUDE_OPTS --enable=$EIDS --quiet --error-exitcode=1 --check-level=exhaustive || exit 1