aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue333/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-05-17 06:55:08 +0200
committerTristan Gingold <tgingold@free.fr>2017-05-18 07:59:34 +0200
commitb8655214d98075df0147015a0fab864b3f2abc86 (patch)
tree00d78f7ad6e63bc67e995087d3ec352c7c39620c /testsuite/gna/issue333/testsuite.sh
parent2e52e07e6a18a89d06060f09f952d78d704d0c00 (diff)
downloadghdl-b8655214d98075df0147015a0fab864b3f2abc86.tar.gz
ghdl-b8655214d98075df0147015a0fab864b3f2abc86.tar.bz2
ghdl-b8655214d98075df0147015a0fab864b3f2abc86.zip
Testcase for #333
Close #333
Diffstat (limited to 'testsuite/gna/issue333/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue333/testsuite.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gna/issue333/testsuite.sh b/testsuite/gna/issue333/testsuite.sh
new file mode 100755
index 000000000..e182d70eb
--- /dev/null
+++ b/testsuite/gna/issue333/testsuite.sh
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+if $GHDL --version | grep -q "mcode code generator"; then
+ analyze repro.vhdl
+ elab_simulate_failure repro
+
+ analyze time_test.vhdl
+ elab_simulate_failure time_test
+fi
+
+clean
+
+echo "Test successful"