2017-03-01 15:29:20 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
: "${PYTHON:=python}"
|
|
|
|
: "${TESTPYTHONPATH:=test-packages}"
|
|
|
|
|
|
|
|
PYTHONPATH="${TESTPYTHONPATH}:${PYTHONPATH}"
|
|
|
|
export PYTHONPATH
|
|
|
|
|
|
|
|
"${PYTHON}" setup.py egg_info --egg-base "${TESTPYTHONPATH}"
|
2017-03-02 00:10:41 +01:00
|
|
|
"${PYTHON}" -m coverage run --rcfile=ci/coveragerc -m unittest discover -p '*.py' -v "$@"
|