Pre-commit check for including test files in Makefile
Pre-commit check for including test files in Makefile

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

mirror/tclap,xguerin/tclap,mirror/tclap,xguerin/tclap,mirror/tclap,xguerin/tclap,mc-server/TCLAP,xguerin/tclap,mc-server/TCLAP,mc-server/TCLAP,mirror/tclap