diff options
-rwxr-xr-x | dist/ci-run.sh | 2 | ||||
-rwxr-xr-x | testsuite/pyunit/testsuite.sh | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/dist/ci-run.sh b/dist/ci-run.sh index 70e6b6d44..928fa201a 100755 --- a/dist/ci-run.sh +++ b/dist/ci-run.sh @@ -425,7 +425,7 @@ ci_run () { # Build ghdl/ghdl:$GHDL_IMAGE_TAG image build_img_ghdl case "$GHDL_IMAGE_TAG" in - *ubuntu*) + *ubuntu*|*buster*) GHDL_TEST_IMAGE="test:$GHDL_IMAGE_TAG-py" docker build -t "$GHDL_TEST_IMAGE" - <<-EOF FROM ghdl/ghdl:$GHDL_IMAGE_TAG 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 |