core-admin-client/run-tests
2017-03-02 02:05:36 +01:00

11 lines
286 B
Bash
Executable File

#!/bin/sh
: "${PYTHON:=python}"
: "${TESTPYTHONPATH:=test-packages}"
PYTHONPATH="${TESTPYTHONPATH}:${PYTHONPATH}"
export PYTHONPATH
"${PYTHON}" setup.py egg_info --egg-base "${TESTPYTHONPATH}"
"${PYTHON}" -m coverage run --rcfile=ci/coveragerc -m unittest discover -p '*.py' -v "$@"