aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/synth
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-10-03 19:59:59 +0200
committerTristan Gingold <tgingold@free.fr>2019-10-03 19:59:59 +0200
commit104d15ba33b8833302f11f96489e7ebbb3c53080 (patch)
treea370c1069c52771c30c8309275ce9e3187e8b0a6 /testsuite/synth
parentd1a04906a1c4c0a31a53ac653ce07d01fce6636e (diff)
downloadghdl-104d15ba33b8833302f11f96489e7ebbb3c53080.tar.gz
ghdl-104d15ba33b8833302f11f96489e7ebbb3c53080.tar.bz2
ghdl-104d15ba33b8833302f11f96489e7ebbb3c53080.zip
testsuite/synth: add test for #962
Diffstat (limited to 'testsuite/synth')
-rwxr-xr-xtestsuite/synth/issue953/testsuite.sh2
-rw-r--r--testsuite/synth/issue962/ent2.vhdl (renamed from testsuite/synth/issue953/ent2.vhdl)0
-rwxr-xr-xtestsuite/synth/issue962/testsuite.sh11
3 files changed, 12 insertions, 1 deletions
diff --git a/testsuite/synth/issue953/testsuite.sh b/testsuite/synth/issue953/testsuite.sh
index a4049bbcb..54e687d28 100755
--- a/testsuite/synth/issue953/testsuite.sh
+++ b/testsuite/synth/issue953/testsuite.sh
@@ -2,7 +2,7 @@
. ../../testenv.sh
-for f in ent ent2; do
+for f in ent; do
synth $f.vhdl -e $f > syn_$f.vhdl
# analyze syn_$f.vhdl
done
diff --git a/testsuite/synth/issue953/ent2.vhdl b/testsuite/synth/issue962/ent2.vhdl
index 3c7993b1f..3c7993b1f 100644
--- a/testsuite/synth/issue953/ent2.vhdl
+++ b/testsuite/synth/issue962/ent2.vhdl
diff --git a/testsuite/synth/issue962/testsuite.sh b/testsuite/synth/issue962/testsuite.sh
new file mode 100755
index 000000000..805a87560
--- /dev/null
+++ b/testsuite/synth/issue962/testsuite.sh
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+for f in ent2; do
+ synth $f.vhdl -e $f > syn_$f.vhdl
+# analyze syn_$f.vhdl
+done
+clean
+
+echo "Test successful"