From 0053a1fc7194b3a9e6fbafef01c14dd9f51795d7 Mon Sep 17 00:00:00 2001 From: nolash Date: Sun, 24 Oct 2021 15:59:16 +0200 Subject: [PATCH] Improve testrunner --- 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