core-admin-client/run-tests
Marek Marczykowski-Górecki f41b51385b
Add run-tests script
Since we use endpoints, those are needed for running tests. Provide
wrapper script.

QubesOS/qubes-issues#853
2017-03-01 23:49:23 +01:00

11 lines
247 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 unittest discover -p '*.py' -v "$@"