aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth/issue940/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-25 08:05:32 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-25 08:05:58 +0200
commit15fca8c254f44c5ae5dbe945195c12035f485df5 (patch)
tree43d4ab5d66992a7a923d9ac70d24587190bee534 /testsuite/synth/issue940/testsuite.sh
parent13fcbfe8a2ef3e027458b88d338909172e6f5133 (diff)
downloadghdl-15fca8c254f44c5ae5dbe945195c12035f485df5.tar.gz
ghdl-15fca8c254f44c5ae5dbe945195c12035f485df5.tar.bz2
ghdl-15fca8c254f44c5ae5dbe945195c12035f485df5.zip
testsuite/synth: add testcase for #940
Diffstat (limited to 'testsuite/synth/issue940/testsuite.sh')
-rwxr-xr-xtestsuite/synth/issue940/testsuite.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/synth/issue940/testsuite.sh b/testsuite/synth/issue940/testsuite.sh
new file mode 100755
index 000000000..6ae2a9715
--- /dev/null
+++ b/testsuite/synth/issue940/testsuite.sh
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+for f in ent; do
+ synth $f.vhdl -e $f > syn_$f.vhdl
+ analyze syn_$f.vhdl
+done
+clean
+
+echo "Test successful"