aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/iassoc01/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-11-12 18:34:09 +0100
committerTristan Gingold <tgingold@free.fr>2019-11-12 20:36:01 +0100
commit3f17c91f6167f0e9c8286e07906802099dc1c52a (patch)
tree26a2108922bbad731e0787c5ce3e908cd7d49ce6 /testsuite/synth/iassoc01/testsuite.sh
parentdd88039f66b6320aa86e0c37b6f138774537d0c7 (diff)
downloadghdl-3f17c91f6167f0e9c8286e07906802099dc1c52a.tar.gz
ghdl-3f17c91f6167f0e9c8286e07906802099dc1c52a.tar.bz2
ghdl-3f17c91f6167f0e9c8286e07906802099dc1c52a.zip
testsuite/synth: add tests for individual associations.
Diffstat (limited to 'testsuite/synth/iassoc01/testsuite.sh')
-rwxr-xr-xtestsuite/synth/iassoc01/testsuite.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/iassoc01/testsuite.sh b/testsuite/synth/iassoc01/testsuite.sh
new file mode 100755
index 000000000..15f76c252
--- /dev/null
+++ b/testsuite/synth/iassoc01/testsuite.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+for t in iassoc01 iassoc02 iassoc03; do
+ analyze pkg.vhdl $t.vhdl tb_$t.vhdl
+ elab_simulate tb_$t
+ clean
+
+ synth pkg.vhdl $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"