File: cppcheck-src.sh

package info (click to toggle)
pixz 1.0.7-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 340 kB
  • sloc: ansic: 1,808; sh: 38; makefile: 36
file content (8 lines) | stat: -rwxr-xr-x 173 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/sh

if which cppcheck &> /dev/null ; then
  cppcheck --error-exitcode=1 --check-level=exhaustive $srcdir/../src
else
  echo "no cppcheck, skipping test"
  exit 77
fi