get ride of include errors (did not find a proper to set the includes path with autoconf)
authorJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 18 May 2013 16:44:33 +0000 (16:44 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Sat, 18 May 2013 16:44:33 +0000 (16:44 +0000)
unused fcts are normal and due to cbk set by the glade file, removed the check

tests/test-cppcheck.sh

index 60c1f39..74f6eab 100755 (executable)
@@ -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