aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/lit01/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-09 18:51:23 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-09 18:51:31 +0200
commit7bb502c9372456aec9593b043e1fcf96b2e2138a (patch)
tree5e86ff0f9450f479df44e3f0b8673d9656abdec4 /testsuite/synth/lit01/testsuite.sh
parent9b18abcd0ffe810d15d7a36462614b4ae0218a45 (diff)
downloadghdl-7bb502c9372456aec9593b043e1fcf96b2e2138a.tar.gz
ghdl-7bb502c9372456aec9593b043e1fcf96b2e2138a.tar.bz2
ghdl-7bb502c9372456aec9593b043e1fcf96b2e2138a.zip
testsuite/synth: add a test for aggregate to net.
Diffstat (limited to 'testsuite/synth/lit01/testsuite.sh')
-rwxr-xr-xtestsuite/synth/lit01/testsuite.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/lit01/testsuite.sh b/testsuite/synth/lit01/testsuite.sh
new file mode 100755
index 000000000..a273b86fc
--- /dev/null
+++ b/testsuite/synth/lit01/testsuite.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+for t in aggr02; 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"