Description: Remove filtered Synopsys files from Makefiles and disable affected tests
Author: Andreas Bombe <aeb@debian.org>
Forwarded: not-needed
Last-Update: 2026-05-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/

--- a/libraries/Makefile.inc
+++ b/libraries/Makefile.inc
@@ -42,17 +42,9 @@
   env.vhdl \
   env-body.vhdl
 
-SYNOPSYS_BSRCS := \
-  std_logic_arith.vhdl \
-  std_logic_unsigned.vhdl \
-  std_logic_signed.vhdl
-
-SYNOPSYS_V_BSRCS := \
-  std_logic_misc.vhdl \
-  std_logic_misc-body.vhdl
-
-SYNOPSYS8793_BSRCS := \
-  std_logic_textio.vhdl
+SYNOPSYS_BSRCS :=
+SYNOPSYS_V_BSRCS :=
+SYNOPSYS8793_BSRCS :=
 
 UPF_SRCS := \
   upf/upf.vhdl \
--- a/testsuite/gna/bug043/testsuite.sh
+++ b/testsuite/gna/bug043/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 analyze --ieee=synopsys -fexplicit sha256.vhd
 
 clean
--- a/testsuite/gna/bug050/testsuite.sh
+++ b/testsuite/gna/bug050/testsuite.sh
@@ -3,16 +3,16 @@
 . ../../testenv.sh
 
 analyze_failure tarith.vhdl
-analyze --ieee=synopsys tarith.vhdl
+#analyze --ieee=synopsys tarith.vhdl
 
 analyze_failure tunsigned.vhdl
-analyze --ieee=synopsys  tunsigned.vhdl
+#analyze --ieee=synopsys  tunsigned.vhdl
 
 analyze_failure tsigned.vhdl
-analyze --ieee=synopsys  tsigned.vhdl
+#analyze --ieee=synopsys  tsigned.vhdl
 
 analyze_failure tsltextio.vhdl
-analyze --ieee=synopsys  tsltextio.vhdl
+#analyze --ieee=synopsys  tsltextio.vhdl
 analyze --std=08 tsltextio.vhdl
 
 clean
--- a/testsuite/gna/bug16695/testsuite.sh
+++ b/testsuite/gna/bug16695/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 analyze --ieee=synopsys lfsr_updown.vhd lfsr_updown_tb.vhd
 elab_simulate --ieee=synopsys lfsr_updown_tb --stop-time=200ns
 
--- a/testsuite/gna/issue1431/testsuite.sh
+++ b/testsuite/gna/issue1431/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 export GHDL_STD_FLAGS="-fsynopsys -fexplicit"
 analyze config_example.vhdl
 elab_simulate config_example
--- a/testsuite/gna/issue1655/testsuite.sh
+++ b/testsuite/gna/issue1655/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=-fsynopsys
 analyze absenc_pkg.vhdl absenc_utils.vhdl absenc_master.vhdl absenc_master_endat.vhdl endat_tb.vhdl
 elab_failure endat_tb
--- a/testsuite/gna/issue2200/testsuite.sh
+++ b/testsuite/gna/issue2200/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 $GHDL -i --ieee=synopsys --warn-unused a.vhdl
 $GHDL -m --ieee=synopsys --warn-unused -Werror a
 
--- a/testsuite/gna/issue223/testsuite.sh
+++ b/testsuite/gna/issue223/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 analyze --ieee=synopsys repro.vhdl
 
 clean
--- a/testsuite/gna/issue227/testsuite.sh
+++ b/testsuite/gna/issue227/testsuite.sh
@@ -6,8 +6,8 @@
 analyze repro.vhdl
 elab_simulate test
 
-analyze --ieee=synopsys test.vhdl
-elab_simulate --ieee=synopsys test
+#analyze --ieee=synopsys test.vhdl
+#elab_simulate --ieee=synopsys test
 
 clean
 
--- a/testsuite/gna/issue244/testsuite.sh
+++ b/testsuite/gna/issue244/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 export GHDL_STD_FLAGS="--std=08 --ieee=synopsys"
 analyze test.vhdl
 elab_simulate test
--- a/testsuite/gna/issue30/testsuite.sh
+++ b/testsuite/gna/issue30/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=--ieee=synopsys
 analyze definitions.vhdl
 analyze alu.vhdl
--- a/testsuite/synth/issue1193/testsuite.sh
+++ b/testsuite/synth/issue1193/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=-fsynopsys
 synth_analyze counters_7
 
--- a/testsuite/synth/issue1197/testsuite.sh
+++ b/testsuite/synth/issue1197/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=-fsynopsys
 synth_analyze generics_1
 clean
--- a/testsuite/synth/issue1198/testsuite.sh
+++ b/testsuite/synth/issue1198/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=-fsynopsys
 synth_analyze for_loop
 clean
--- a/testsuite/synth/issue1207/testsuite.sh
+++ b/testsuite/synth/issue1207/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 synth -fsynopsys alphablender.vhdl -e > syn_alphablender.vhdl
 
 echo "Test successful"
--- a/testsuite/synth/issue1208/testsuite.sh
+++ b/testsuite/synth/issue1208/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=-fsynopsys
 
 synth adders_4.vhdl -e > syn_adders_4.vhdl
--- a/testsuite/synth/issue1209/testsuite.sh
+++ b/testsuite/synth/issue1209/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=-fsynopsys
 synth_analyze issue
 clean
--- a/testsuite/synth/issue1239/testsuite.sh
+++ b/testsuite/synth/issue1239/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=-fsynopsys
 synth repro.vhdl -e > syn_repro.vhdl
 
--- a/testsuite/synth/issue1253/testsuite.sh
+++ b/testsuite/synth/issue1253/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=-fsynopsys
 synth repro1.vhdl -e > syn_repro1.vhdl
 synth repro2.vhdl -e > syn_repro2.vhdl
--- a/testsuite/synth/issue1298/testsuite.sh
+++ b/testsuite/synth/issue1298/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS="-fsynopsys -fexplicit -frelaxed --std=08"
 
 # synth -gBOO=true -gINT=255 -gLOG=\'1\' -gSTR="WXYZ" generics.vhdl -e Params
--- a/testsuite/synth/issue1424/testsuite.sh
+++ b/testsuite/synth/issue1424/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS="--std=08 -fsynopsys"
 synth_analyze bar
 clean
--- a/testsuite/synth/issue1426/testsuite.sh
+++ b/testsuite/synth/issue1426/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=-fsynopsys
 synth bar.vhdl -e > syn_bar.vhdl
 
--- a/testsuite/synth/issue1926/testsuite.sh
+++ b/testsuite/synth/issue1926/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 synth -fsynopsys ecp5pll.vhdl top_ecp5pll.vhdl -e > syn_top_ecp5pll.vhdl
 
 echo "Test successful"
--- a/testsuite/synth/issue1951/testsuite.sh
+++ b/testsuite/synth/issue1951/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=-fsynopsys
 synth_only ent
 
--- a/testsuite/synth/issue1968/testsuite.sh
+++ b/testsuite/synth/issue1968/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=--std=08
 synth -fsynopsys dummy_pkg.vhdl dummy.vhdl -e > syn_dummy.vhdl
 
--- a/testsuite/synth/issue2273/testsuite.sh
+++ b/testsuite/synth/issue2273/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 synth -fsynopsys --out=verilog @mc8051.f -e mc8051_core > mc8051.v
 
 echo "Test successful"
--- a/testsuite/synth/issue2347/testsuite.sh
+++ b/testsuite/synth/issue2347/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=-fsynopsys
 synth_only ent
 
--- a/testsuite/synth/issue2408/testsuite.sh
+++ b/testsuite/synth/issue2408/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=-fsynopsys
 synth_only bug
 
--- a/testsuite/synth/issue2634/testsuite.sh
+++ b/testsuite/synth/issue2634/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 synth_failure -fsynopsys uart_rx.vhdl -e
 
 echo "Test successful"
--- a/testsuite/synth/issue2740/testsuite.sh
+++ b/testsuite/synth/issue2740/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 ! synth --out=verilog --std=08 --no-formal -fsynopsys \
   -gCLK_FREQ=4000000.0 -gBAUD_RATE=9600 -gPARITY_BIT=none -gUSE_DEBOUNCER=0 \
   uart.vhd uart_clk_div.vhd uart_debouncer.vhd \
--- a/testsuite/synth/sns01/testsuite.sh
+++ b/testsuite/synth/sns01/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=-fsynopsys
 
 # Compare opers.
--- a/testsuite/synth/sns02/testsuite.sh
+++ b/testsuite/synth/sns02/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=-fsynopsys
 
 for t in conv01 conv02 conv03 \
--- a/testsuite/synth/snsuns01/testsuite.sh
+++ b/testsuite/synth/snsuns01/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS="-fsynopsys -fexplicit"
 
 # Compare opers.
--- a/testsuite/synth/warn01/testsuite.sh
+++ b/testsuite/synth/warn01/testsuite.sh
@@ -7,9 +7,9 @@
     synth_failure -Werror ${f}.vhdl -e
 done
 
-for f in toint05; do
-    synth -fsynopsys ${f}.vhdl -e > /dev/null
-    synth_failure -Werror -fsynopsys ${f}.vhdl -e
-done
+#for f in toint05; do
+#    synth -fsynopsys ${f}.vhdl -e > /dev/null
+#    synth_failure -Werror -fsynopsys ${f}.vhdl -e
+#done
 
 echo "Test successful"
--- a/testsuite/synth/issue2224/testsuite.sh
+++ b/testsuite/synth/issue2224/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 synth_only test
 
 echo "Test successful"
--- a/testsuite/synth/issue2798/testsuite.sh
+++ b/testsuite/synth/issue2798/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 synth_only test
 
 echo "Test successful"
--- a/testsuite/gna/bug016/testsuite.sh
+++ b/testsuite/gna/bug016/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 analyze_failure repro.vhdl
 
 analyze pkg.vhdl
--- a/testsuite/synth/issue2850/testsuite.sh
+++ b/testsuite/synth/issue2850/testsuite.sh
@@ -2,6 +2,9 @@
 
 . ../../testenv.sh
 
+echo "Test skipped"
+exit 0
+
 GHDL_STD_FLAGS=--std=08
 synth_tb issue
 
