aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/var01/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-17 02:18:41 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-17 02:18:41 +0200
commitde899bb8cb6e2f43a3e80a6a273d6a459b08e401 (patch)
treee44c55c459c9a1fe5814103927d7ac8be4f8a40e /testsuite/synth/var01/testsuite.sh
parentb7a36d7d7838d05b449aa7e23935cd0e3e4213d4 (diff)
downloadghdl-de899bb8cb6e2f43a3e80a6a273d6a459b08e401.tar.gz
ghdl-de899bb8cb6e2f43a3e80a6a273d6a459b08e401.tar.bz2
ghdl-de899bb8cb6e2f43a3e80a6a273d6a459b08e401.zip
testsuite/synth: add var01
Diffstat (limited to 'testsuite/synth/var01/testsuite.sh')
-rwxr-xr-xtestsuite/synth/var01/testsuite.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/synth/var01/testsuite.sh b/testsuite/synth/var01/testsuite.sh
new file mode 100755
index 000000000..e72b66751
--- /dev/null
+++ b/testsuite/synth/var01/testsuite.sh
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+GHDL_STD_FLAGS=--std=08
+
+for t in var01 var02 var03 var05; 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"