From 4747007bf70c88ac77ff6dc274e8f3b3b7459658 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 30 Sep 2022 06:15:09 +0200 Subject: testsuite/gna: rename issue and close #2202 --- testsuite/gna/issue2201/repro.vhdl | 30 ------------------------------ testsuite/gna/issue2201/testsuite.sh | 9 --------- testsuite/gna/issue2202/repro.vhdl | 30 ++++++++++++++++++++++++++++++ testsuite/gna/issue2202/testsuite.sh | 9 +++++++++ 4 files changed, 39 insertions(+), 39 deletions(-) delete mode 100644 testsuite/gna/issue2201/repro.vhdl delete mode 100755 testsuite/gna/issue2201/testsuite.sh create mode 100644 testsuite/gna/issue2202/repro.vhdl create mode 100755 testsuite/gna/issue2202/testsuite.sh diff --git a/testsuite/gna/issue2201/repro.vhdl b/testsuite/gna/issue2201/repro.vhdl deleted file mode 100644 index 35dd97169..000000000 --- a/testsuite/gna/issue2201/repro.vhdl +++ /dev/null @@ -1,30 +0,0 @@ -entity repro_ch is - port (a : out bit); -end repro_ch; - -architecture syn of repro_ch is -begin - a <= '1'; -end syn; - -entity repro is - port (b : out bit); -end repro; - -architecture syn of repro is - component repro_ch is - port (a : out bit); - end component; -begin - dut: repro_ch - port map (a => b); -end syn; - -configuration repro_cfg of repro is - for syn - for dut : repro_ch - for syn - end for; - end for; - end for; -end configuration; diff --git a/testsuite/gna/issue2201/testsuite.sh b/testsuite/gna/issue2201/testsuite.sh deleted file mode 100755 index 5defdcf1e..000000000 --- a/testsuite/gna/issue2201/testsuite.sh +++ /dev/null @@ -1,9 +0,0 @@ -#! /bin/sh - -. ../../testenv.sh - -analyze_failure repro.vhdl - -clean - -echo "Test successful" diff --git a/testsuite/gna/issue2202/repro.vhdl b/testsuite/gna/issue2202/repro.vhdl new file mode 100644 index 000000000..35dd97169 --- /dev/null +++ b/testsuite/gna/issue2202/repro.vhdl @@ -0,0 +1,30 @@ +entity repro_ch is + port (a : out bit); +end repro_ch; + +architecture syn of repro_ch is +begin + a <= '1'; +end syn; + +entity repro is + port (b : out bit); +end repro; + +architecture syn of repro is + component repro_ch is + port (a : out bit); + end component; +begin + dut: repro_ch + port map (a => b); +end syn; + +configuration repro_cfg of repro is + for syn + for dut : repro_ch + for syn + end for; + end for; + end for; +end configuration; diff --git a/testsuite/gna/issue2202/testsuite.sh b/testsuite/gna/issue2202/testsuite.sh new file mode 100755 index 000000000..5defdcf1e --- /dev/null +++ b/testsuite/gna/issue2202/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze_failure repro.vhdl + +clean + +echo "Test successful" -- cgit v1.2.3