aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/case02/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-07 08:44:46 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-07 08:44:46 +0200
commit34269470ff0d36c3b0b45a2daa9390bddabe2050 (patch)
tree33f492ca00a63731d2ee8201c8073b4af342f814 /testsuite/synth/case02/testsuite.sh
parent70f258f0330faf7f6a9383c99078210ece55132a (diff)
downloadghdl-34269470ff0d36c3b0b45a2daa9390bddabe2050.tar.gz
ghdl-34269470ff0d36c3b0b45a2daa9390bddabe2050.tar.bz2
ghdl-34269470ff0d36c3b0b45a2daa9390bddabe2050.zip
testsuite/synth: add testcase for previous commit.
Diffstat (limited to 'testsuite/synth/case02/testsuite.sh')
-rwxr-xr-xtestsuite/synth/case02/testsuite.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/synth/case02/testsuite.sh b/testsuite/synth/case02/testsuite.sh
new file mode 100755
index 000000000..fe81cddf9
--- /dev/null
+++ b/testsuite/synth/case02/testsuite.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+for t in case01; 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"