Script to be called from pre-commit hook to make sure any new test
files were added to Makefile.am
Example pre-commit hook (in .git/hooks):
function pyhook {
CMD="./scripts/$1.py"
$CMD
local status=$?
if [ $status -ne 0 ]; then
echo
echo "Pre-commit failed"
exit 1
fi
}
pyhook check_tests_enabled