aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue937/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-25 07:37:33 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-25 07:37:33 +0200
commit3fca9501e16d90cc268b641ae165a22afdacf5e8 (patch)
tree811bb0b58bdb6f6a2ff18d4c09d48fdc91894fe2 /testsuite/synth/issue937/testsuite.sh
parent28802d1a7a775d8c54921965b6793dfd9dafdf3c (diff)
downloadghdl-3fca9501e16d90cc268b641ae165a22afdacf5e8.tar.gz
ghdl-3fca9501e16d90cc268b641ae165a22afdacf5e8.tar.bz2
ghdl-3fca9501e16d90cc268b641ae165a22afdacf5e8.zip
testsuite/synth: add testcase for #937
Diffstat (limited to 'testsuite/synth/issue937/testsuite.sh')
-rwxr-xr-xtestsuite/synth/issue937/testsuite.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/issue937/testsuite.sh b/testsuite/synth/issue937/testsuite.sh
new file mode 100755
index 000000000..24d93e2e8
--- /dev/null
+++ b/testsuite/synth/issue937/testsuite.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+for t in enot bnot; 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"