From: Jean-Philippe Orsini Date: Sat, 18 May 2013 16:44:33 +0000 (+0000) Subject: get ride of include errors (did not find a proper to set the includes path with autoconf) X-Git-Tag: v0.8.0.5~65 X-Git-Url: http://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=fe3086e41e7fecfb0acfe2ac85d3d34cf8eb726a get ride of include errors (did not find a proper to set the includes path with autoconf) unused fcts are normal and due to cbk set by the glade file, removed the check --- diff --git a/tests/test-cppcheck.sh b/tests/test-cppcheck.sh index 60c1f39..74f6eab 100755 --- a/tests/test-cppcheck.sh +++ b/tests/test-cppcheck.sh @@ -1,8 +1,7 @@ #!/bin/sh -EIDS=performance,portability,information,unusedFunction,missingInclude +EIDS=performance,portability ROOTDIR="$srcdir/.." -INCLUDE_OPTS="-I$ROOTDIR/src/lib -I$ROOTDIR/src -I$ROOTDIR -I$ROOTDIR/.." +INCLUDE_OPTS="-q -f -I$ROOTDIR/src/lib -I$ROOTDIR/src -I$ROOTDIR -I$ROOTDIR/.." -cppcheck $ROOTDIR/src $INCLUDE_OPTS --enable=$EIDS --quiet --check-config --error-exitcode=1 || exit 1 cppcheck $ROOTDIR/src $INCLUDE_OPTS --enable=$EIDS --quiet --error-exitcode=1 || exit 1