aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/stmt01/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-07-01 06:28:58 +0200
committerTristan Gingold <tgingold@free.fr>2019-07-01 06:28:58 +0200
commit7223b0ea62072ff2ee867b539e13a4822a8cb422 (patch)
tree6f5ff28fa393e68b5c6ecf9877aa6923b1045442 /testsuite/synth/stmt01/testsuite.sh
parent6e7525efaa81ddf6ac9c27525c16e1a7701cd3f4 (diff)
downloadghdl-7223b0ea62072ff2ee867b539e13a4822a8cb422.tar.gz
ghdl-7223b0ea62072ff2ee867b539e13a4822a8cb422.tar.bz2
ghdl-7223b0ea62072ff2ee867b539e13a4822a8cb422.zip
testsuite/synth: add forloop2 test.
Diffstat (limited to 'testsuite/synth/stmt01/testsuite.sh')
-rwxr-xr-xtestsuite/synth/stmt01/testsuite.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/stmt01/testsuite.sh b/testsuite/synth/stmt01/testsuite.sh
new file mode 100755
index 000000000..3d066e799
--- /dev/null
+++ b/testsuite/synth/stmt01/testsuite.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+for t in forloop2; 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"