projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
check target call cppcheck if it is installed
[psensor.git]
/
tests
/
test-cppcheck.sh
diff --git a/tests/test-cppcheck.sh
b/tests/test-cppcheck.sh
new file mode 100644
(file)
index 0000000..
0ecbe43
--- /dev/null
+++ b/
tests/test-cppcheck.sh
@@ -0,0
+1,5
@@
+#!/bin/sh
+
+EIDS=performance,portability,information,unusedFunction,missingInclude
+
+cppcheck ../src -I../src/lib -I../src -I.. --enable=$EIDS --quiet --error-exitcode=1 || exit 1
\ No newline at end of file