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