aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/testsuite.sh
diff options
context:
space:
mode:
authorumarcor <unai.martinezcorral@ehu.eus>2020-12-29 03:32:30 +0100
committerumarcor <unai.martinezcorral@ehu.eus>2020-12-29 03:56:22 +0100
commit215b33f6f9dc3494ae8a30e975aefb22b5670ad1 (patch)
tree897e9cad96c6371b9e1befff109b91dfb8766985 /testsuite/testsuite.sh
parent8bc5e6c6b313546d4fcbd6667f67194b0d56bce9 (diff)
downloadghdl-215b33f6f9dc3494ae8a30e975aefb22b5670ad1.tar.gz
ghdl-215b33f6f9dc3494ae8a30e975aefb22b5670ad1.tar.bz2
ghdl-215b33f6f9dc3494ae8a30e975aefb22b5670ad1.zip
testsuite/pyunit: fix pyunit exec dir
Diffstat (limited to 'testsuite/testsuite.sh')
-rwxr-xr-xtestsuite/testsuite.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/testsuite/testsuite.sh b/testsuite/testsuite.sh
index e5d06279e..ab4f2c6a6 100755
--- a/testsuite/testsuite.sh
+++ b/testsuite/testsuite.sh
@@ -141,10 +141,9 @@ do_gna () {
# The Python Unit testsuite: regression testsuite for Python bindings to libghdl
do_pyunit () {
gstart "[GHDL - test] pyunit"
-
- cd $(realpath "$0")/..
+ cd ..
PYTHONPATH=$(pwd) python3 -m unittest testsuite.pyunit
-
+ cd testsuite
gend
}