#!/bin/sh # If we are running from make check (srcdir is set) and VERBOSE is # unset, be quiet. test -n "$srcdir" && test -z "$VERBOSE" && exec >/dev/null 2>&1 test -z "$1" && PYTHONPATH=..:@srcdir@/.. exec @PYTHON@ case $1 in *.py) PYTHONPATH=..:@srcdir@/.. exec @PYTHON@ "$@";; *.test) sh -x "$@";; *) echo "Unknown extension" 2>&1 exit 2;; esac