2
0
mirror of https://github.com/vasi/pixz synced 2024-10-30 15:21:41 +00:00
pixz/test/cppcheck-src.sh
Christian Krause 35a2f67be9 implements cppcheck test
- fixes #8
2015-08-19 04:28:12 +02:00

9 lines
150 B
Bash
Executable File

#!/bin/bash
if which cppcheck &> /dev/null ; then
cppcheck --error-exitcode=1 $srcdir/../src
else
echo "no cppcheck, skipping test"
exit 77
fi