projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed restoration of the panel divider position.
[psensor.git]
/
tests
/
test-cppcheck.sh
diff --git
a/tests/test-cppcheck.sh
b/tests/test-cppcheck.sh
old mode 100644
(file)
new mode 100755
(executable)
index
0ecbe43
..
74f6eab
--- a/
tests/test-cppcheck.sh
+++ b/
tests/test-cppcheck.sh
@@
-1,5
+1,7
@@
#!/bin/sh
#!/bin/sh
-EIDS=performance,portability,information,unusedFunction,missingInclude
+EIDS=performance,portability
+ROOTDIR="$srcdir/.."
+INCLUDE_OPTS="-q -f -I$ROOTDIR/src/lib -I$ROOTDIR/src -I$ROOTDIR -I$ROOTDIR/.."
-cppcheck ../src -I../src/lib -I../src -I.. --enable=$EIDS --quiet --error-exitcode=1 || exit 1
\ No newline at end of file
+cppcheck $ROOTDIR/src $INCLUDE_OPTS --enable=$EIDS --quiet --error-exitcode=1 || exit 1