From edb35b3ead51da9805b2d95ff7727c4108745305 Mon Sep 17 00:00:00 2001 From: nolash Date: Sun, 24 Oct 2021 16:13:45 +0200 Subject: [PATCH] Improve test runner --- python/run_tests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/run_tests.sh b/python/run_tests.sh index b8e3d91..fed6f11 100644 --- a/python/run_tests.sh +++ b/python/run_tests.sh @@ -2,6 +2,8 @@ set -e set -x +default_pythonpath=$PYTHONPATH:. +export PYTHONPATH=${default_pythonpath:-.} for f in `ls tests/*.py`; do python $f if [ $? -gt 0 ]; then