Skip to content

Commit

Permalink
run-tests: prefer local qrexec sources
Browse files Browse the repository at this point in the history
Do add local qrexec sources to PYTHONPATH for tests, even if a package
is installed. This helps with developing R4.3 on R4.2 for example.
  • Loading branch information
marmarek committed Sep 26, 2024
1 parent 5f94bb1 commit 1ec74f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fi
: "${PYTHON:=python3}"
: "${TESTPYTHONPATH:=test-packages}"

if [ -d ../core-qrexec/qrexec ] && ! $PYTHON -c 'import qrexec' 2>/dev/null; then
if [ -d ../core-qrexec/qrexec ]; then
PYTHONPATH=${PYTHONPATH+"$PYTHONPATH:"}:../core-qrexec
fi

Expand Down

0 comments on commit 1ec74f9

Please sign in to comment.