mirror of https://github.com/vasi/pixz
Merge pull request #42 from wookietreiber/cppcheck-test
implementing the basic cppcheck testpull/49/head
commit
f35af1ae52
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if which cppcheck &> /dev/null ; then
|
||||||
|
cppcheck --error-exitcode=1 $srcdir/../src
|
||||||
|
else
|
||||||
|
echo "no cppcheck, skipping test"
|
||||||
|
exit 77
|
||||||
|
fi
|
Loading…
Reference in New Issue