Update to latest config.guess and config.sub
[xapian.git] / xapian-bindings / python / run-python-test
blob274658a4459e56b7025f1dd3a9cc829ca606e401
1 #!/bin/sh
2 # PYTHONDONTWRITEBYTECODE is only supported by Python >= 2.6, so for older
3 # versions we set a trap which will delete any generated .pyc files after
4 # the test, or upon a signal.
5 trap 'rm -f "${srcdir-.}/*.pyc"' 0 1 2 13 15
6 PYTHONPATH=".:$PYTHONPATH" PYTHONDONTWRITEBYTECODE=1 $MACOS_SIP_HACK_ENV ${PYTHON-python} "$@"
7 exit $?