fixed git url
[psensor-pkg-debian.git] / tests / 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