commit e73924622c9bc405129f558546ca2dc5010d5393 parent 4ec8eefe7ce1ff9f969b135f0e7d0e787dd0ab54 Author: nolash <dev@holbrook.no> Date: Mon, 13 Sep 2021 16:42:00 +0200 Set default pythonpath Diffstat:
M | run_tests.sh | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/run_tests.sh b/run_tests.sh @@ -1,10 +1,14 @@ #!/bin/bash +set -a set -e set -x -#export PYTHONPATH=${PYTHONPATH:.} +default_pythonpath=$PYTHONPATH:. +export PYTHONPATH=${default_pythonpath:-.} +>&2 echo using pythonpath $PYTHONPATH for f in `ls tests/*.py`; do python $f done set +x set +e +set +a