diff options
author | umarcor <unai.martinezcorral@ehu.eus> | 2020-12-29 03:32:30 +0100 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2020-12-29 03:56:22 +0100 |
commit | 215b33f6f9dc3494ae8a30e975aefb22b5670ad1 (patch) | |
tree | 897e9cad96c6371b9e1befff109b91dfb8766985 | |
parent | 8bc5e6c6b313546d4fcbd6667f67194b0d56bce9 (diff) | |
download | ghdl-215b33f6f9dc3494ae8a30e975aefb22b5670ad1.tar.gz ghdl-215b33f6f9dc3494ae8a30e975aefb22b5670ad1.tar.bz2 ghdl-215b33f6f9dc3494ae8a30e975aefb22b5670ad1.zip |
testsuite/pyunit: fix pyunit exec dir
-rwxr-xr-x | testsuite/testsuite.sh | 5 |
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 } |