aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue238/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-02-12 21:06:42 +0100
committerTristan Gingold <tgingold@free.fr>2017-02-12 21:07:49 +0100
commit89c817660b426ef9603a264a2aaf6407d0da40e1 (patch)
tree4c2db8e25530bf08679a215ce826c87f886adc47 /testsuite/gna/issue238/testsuite.sh
parent748a8a732b96a8940bb1461502d1f1eaec0e9576 (diff)
downloadghdl-89c817660b426ef9603a264a2aaf6407d0da40e1.tar.gz
ghdl-89c817660b426ef9603a264a2aaf6407d0da40e1.tar.bz2
ghdl-89c817660b426ef9603a264a2aaf6407d0da40e1.zip
Add testcases for #238
Diffstat (limited to 'testsuite/gna/issue238/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue238/testsuite.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/gna/issue238/testsuite.sh b/testsuite/gna/issue238/testsuite.sh
new file mode 100755
index 000000000..368be0f47
--- /dev/null
+++ b/testsuite/gna/issue238/testsuite.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+export GHDL_STD_FLAGS=--std=08
+#analyze test.vhdl
+#elab_simulate test
+
+analyze cst.vhdl pkg.vhdl
+analyze var1.vhdl var2.vhdl var3.vhdl var4.vhdl
+analyze assign1.vhdl proc1.vhdl
+elab_simulate proc1
+
+clean
+
+echo "Test successful"