aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue610/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-11-20 17:24:36 +0100
committerTristan Gingold <tgingold@free.fr>2018-11-20 17:24:36 +0100
commitcfc292a4d7319d6599b1d9f74b879301d71af63d (patch)
treead5fbc65c1cf5815e2169f319ce6ee012736e2bb /testsuite/gna/issue610/testsuite.sh
parent1d566ee1a598f2c80b0928c9b29a799590d8822b (diff)
downloadghdl-cfc292a4d7319d6599b1d9f74b879301d71af63d.tar.gz
ghdl-cfc292a4d7319d6599b1d9f74b879301d71af63d.tar.bz2
ghdl-cfc292a4d7319d6599b1d9f74b879301d71af63d.zip
Add reproducer for #610.
Diffstat (limited to 'testsuite/gna/issue610/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue610/testsuite.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/testsuite/gna/issue610/testsuite.sh b/testsuite/gna/issue610/testsuite.sh
new file mode 100755
index 000000000..9c9cc5c5c
--- /dev/null
+++ b/testsuite/gna/issue610/testsuite.sh
@@ -0,0 +1,23 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+export GHDL_STD_FLAGS=--std=08
+analyze repro1.vhdl
+elab_simulate repro1
+
+clean
+
+export GHDL_STD_FLAGS=-frelaxed-rules
+analyze repro2.vhdl
+elab_simulate repro2
+
+analyze repro3.vhdl
+#elab_simulate repro3
+
+analyze repro4.vhdl
+#elab_simulate repro4
+
+clean
+
+echo "Test successful"