aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1100/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-01-19 17:32:11 +0100
committerTristan Gingold <tgingold@free.fr>2020-01-19 17:32:11 +0100
commit0c05b9dd951150f8a26ad89b61b8f4e3a29364f9 (patch)
treea3b150191799e5f5fa8b26fea8e54840839a0495 /testsuite/synth/issue1100/testsuite.sh
parentd8148c335bc63c84ff4e2b07d0a6cbe1ec014206 (diff)
downloadghdl-0c05b9dd951150f8a26ad89b61b8f4e3a29364f9.tar.gz
ghdl-0c05b9dd951150f8a26ad89b61b8f4e3a29364f9.tar.bz2
ghdl-0c05b9dd951150f8a26ad89b61b8f4e3a29364f9.zip
testsuite/synth: add test for #1100.
Diffstat (limited to 'testsuite/synth/issue1100/testsuite.sh')
-rwxr-xr-xtestsuite/synth/issue1100/testsuite.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/synth/issue1100/testsuite.sh b/testsuite/synth/issue1100/testsuite.sh
new file mode 100755
index 000000000..861e2e180
--- /dev/null
+++ b/testsuite/synth/issue1100/testsuite.sh
@@ -0,0 +1,17 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+GHDL_STD_FLAGS=--std=08
+for t in repro; do
+ analyze $t.vhdl tb_$t.vhdl
+ elab_simulate tb_$t
+ clean
+
+ synth $t.vhdl -e $t > syn_$t.vhdl
+ analyze syn_$t.vhdl tb_$t.vhdl
+ elab_simulate tb_$t --ieee-asserts=disable-at-0
+ clean
+done
+
+echo "Test successful"