aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/aggr02/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-08-08 05:24:04 +0200
committerTristan Gingold <tgingold@free.fr>2019-08-08 05:24:04 +0200
commit1a0606c144230040143e8080016302bc51a48bfb (patch)
tree41298609c1d76fb9dff8c82e8caa9aa4535ef9b7 /testsuite/synth/aggr02/testsuite.sh
parent16eb29c7ca5928517d7a49c77deae6d1f6c9437b (diff)
downloadghdl-1a0606c144230040143e8080016302bc51a48bfb.tar.gz
ghdl-1a0606c144230040143e8080016302bc51a48bfb.tar.bz2
ghdl-1a0606c144230040143e8080016302bc51a48bfb.zip
synth: add testcase for aggregate target.
Diffstat (limited to 'testsuite/synth/aggr02/testsuite.sh')
-rwxr-xr-xtestsuite/synth/aggr02/testsuite.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/aggr02/testsuite.sh b/testsuite/synth/aggr02/testsuite.sh
new file mode 100755
index 000000000..3b545a932
--- /dev/null
+++ b/testsuite/synth/aggr02/testsuite.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+for t in targ01; 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
+ clean
+done
+
+echo "Test successful"