Make run-tests script try to find qrexec
Parts of core-admin (specifically some extensions) require qrexec python module to work, and to be tested. Try to find it in a standard place (as qubes-builder place it).
This commit is contained in:
parent
77323cd30d
commit
12bc523b98
@ -9,6 +9,10 @@ fi
|
|||||||
: "${PYTHON:=python3}"
|
: "${PYTHON:=python3}"
|
||||||
: "${TESTPYTHONPATH:=test-packages}"
|
: "${TESTPYTHONPATH:=test-packages}"
|
||||||
|
|
||||||
|
if [ -d ../core-qrexec/qrexec ] && ! $PYTHON -c 'import qrexec' 2>/dev/null; then
|
||||||
|
PYTHONPATH="${PYTHONPATH}:../core-qrexec"
|
||||||
|
fi
|
||||||
|
|
||||||
PYTHONPATH="${TESTPYTHONPATH}:${PYTHONPATH}"
|
PYTHONPATH="${TESTPYTHONPATH}:${PYTHONPATH}"
|
||||||
export PYTHONPATH
|
export PYTHONPATH
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user