aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/pyunit/testsuite.sh')
-rwxr-xr-xtestsuite/pyunit/testsuite.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/pyunit/testsuite.sh b/testsuite/pyunit/testsuite.sh
index 7eac028ca..3de4b3951 100755
--- a/testsuite/pyunit/testsuite.sh
+++ b/testsuite/pyunit/testsuite.sh
@@ -52,6 +52,8 @@ set -e
# echo "test failed ($failures)" && exit 1
#fi
-cd $(dirname "$0")/..
+cd $(dirname "$0")/../..
-python3 -m unittest pyunit
+export PYTHONPATH=$(pwd)/pyGHDL
+
+python3 -m unittest testsuite.pyunit