summaryrefslogtreecommitdiff
path: root/sci-electronics/ghdl/files/ghdl-4.0.0_pre20231218-no-pyunit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/ghdl/files/ghdl-4.0.0_pre20231218-no-pyunit.patch')
-rw-r--r--sci-electronics/ghdl/files/ghdl-4.0.0_pre20231218-no-pyunit.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/sci-electronics/ghdl/files/ghdl-4.0.0_pre20231218-no-pyunit.patch b/sci-electronics/ghdl/files/ghdl-4.0.0_pre20231218-no-pyunit.patch
new file mode 100644
index 000000000000..91cb22d6035a
--- /dev/null
+++ b/sci-electronics/ghdl/files/ghdl-4.0.0_pre20231218-no-pyunit.patch
@@ -0,0 +1,18 @@
+diff --git a/testsuite/testsuite.sh.orig b/testsuite/testsuite.sh
+index 0c1049f..52da6db 100755
+--- a/testsuite/testsuite.sh.orig
++++ b/testsuite/testsuite.sh
+@@ -130,9 +130,10 @@ do_test() {
+ pyunit)
+ # The Python Unit testsuite: regression testsuite for Python bindings to libghdl
+ # pyunit/dom fails with python 3.12
+- gstart "[GHDL - test] pyunit"
+- PYTHONPATH=$(pwd)/.. ${PYTHON:-python3} -m pytest -vsrA pyunit/lsp pyunit/libghdl
+- gend
++ # gstart "[GHDL - test] pyunit"
++ # PYTHONPATH=$(pwd)/.. ${PYTHON:-python3} -m pytest -vsrA pyunit/lsp pyunit/libghdl
++ # gend
++ echo "Python Unit testsuite is disabled!"
+ ;;
+
+ vests)