aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/testsuite.sh')
-rwxr-xr-xtestsuite/testsuite.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuite/testsuite.sh b/testsuite/testsuite.sh
index 55c2ff9fb..b1b69a7e2 100755
--- a/testsuite/testsuite.sh
+++ b/testsuite/testsuite.sh
@@ -141,9 +141,7 @@ do_gna () {
# The Python Unit testsuite: regression testsuite for Python bindings to libghdl
do_pyunit () {
gstart "[GHDL - test] pyunit"
- cd ..
- PYTHONPATH=$(pwd) python3 -m unittest testsuite.pyunit.libghdl.Initialize
- cd testsuite
+ PYTHONPATH=$(pwd)/.. python3 -m pytest pyunit
gend
}