74f6eabd4bdd2f718a961d5b15036a2c14b2fc87
[psensor-pkg-debian.git] / test-cppcheck.sh
1 #!/bin/sh
2
3 EIDS=performance,portability
4 ROOTDIR="$srcdir/.."
5 INCLUDE_OPTS="-q -f -I$ROOTDIR/src/lib -I$ROOTDIR/src -I$ROOTDIR -I$ROOTDIR/.."
6
7 cppcheck $ROOTDIR/src $INCLUDE_OPTS --enable=$EIDS --quiet --error-exitcode=1 || exit 1