aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue1082/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-01-11 16:39:34 +0100
committerTristan Gingold <tgingold@free.fr>2020-01-12 09:15:36 +0100
commit10e80c41ce55821a41f2304a6158949ac78c59e8 (patch)
treebf4f7b20a833da163524c908b64809afa84ffd45 /testsuite/synth/issue1082/testsuite.sh
parent655f95831416043989e23dfc629e480aae0123dd (diff)
downloadghdl-10e80c41ce55821a41f2304a6158949ac78c59e8.tar.gz
ghdl-10e80c41ce55821a41f2304a6158949ac78c59e8.tar.bz2
ghdl-10e80c41ce55821a41f2304a6158949ac78c59e8.zip
testsuite/synth: add a test for #1082
Diffstat (limited to 'testsuite/synth/issue1082/testsuite.sh')
-rwxr-xr-xtestsuite/synth/issue1082/testsuite.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/testsuite/synth/issue1082/testsuite.sh b/testsuite/synth/issue1082/testsuite.sh
index 26a25c13f..cca8f9080 100755
--- a/testsuite/synth/issue1082/testsuite.sh
+++ b/testsuite/synth/issue1082/testsuite.sh
@@ -4,6 +4,15 @@
GHDL_STD_FLAGS=--std=08
-synth ent.vhdl -e
+for t in test; 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"