2
0
mirror of https://github.com/vasi/pixz synced 2024-10-30 15:21:41 +00:00
pixz/test/cppcheck-src.sh

9 lines
148 B
Bash
Raw Normal View History

2018-02-19 18:47:49 +00:00
#!/bin/sh
2015-08-19 01:48:59 +00:00
if which cppcheck &> /dev/null ; then
cppcheck --error-exitcode=1 $srcdir/../src
else
echo "no cppcheck, skipping test"
exit 77
fi