aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2020-12-29 08:20:15 +0100
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2020-12-29 08:20:15 +0100
commit2e1a5018114bd85d3eafb299d6e48ad6ab8809f5 (patch)
tree897e9cad96c6371b9e1befff109b91dfb8766985
parent8bc5e6c6b313546d4fcbd6667f67194b0d56bce9 (diff)
parent215b33f6f9dc3494ae8a30e975aefb22b5670ad1 (diff)
downloadghdl-2e1a5018114bd85d3eafb299d6e48ad6ab8809f5.tar.gz
ghdl-2e1a5018114bd85d3eafb299d6e48ad6ab8809f5.tar.bz2
ghdl-2e1a5018114bd85d3eafb299d6e48ad6ab8809f5.zip
Merge remote-tracking branch 'github-umarcor/py/GHDL' into paebbels/pyGHDL
-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
}