aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue394/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-08-30 05:36:38 +0200
committerTristan Gingold <tgingold@free.fr>2017-08-30 05:36:38 +0200
commitd91eff08229e768b044a0cfbd171a7293641a8b9 (patch)
treebc120af1f94490380438ddbd36898ac91b2c8d5d /testsuite/gna/issue394/testsuite.sh
parentf8d8c61c81150294cf06f10684a8e4180426890b (diff)
downloadghdl-d91eff08229e768b044a0cfbd171a7293641a8b9.tar.gz
ghdl-d91eff08229e768b044a0cfbd171a7293641a8b9.tar.bz2
ghdl-d91eff08229e768b044a0cfbd171a7293641a8b9.zip
Add reproducer for #394
Diffstat (limited to 'testsuite/gna/issue394/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue394/testsuite.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/gna/issue394/testsuite.sh b/testsuite/gna/issue394/testsuite.sh
new file mode 100755
index 000000000..951682623
--- /dev/null
+++ b/testsuite/gna/issue394/testsuite.sh
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze bug.vhdl
+elab_simulate bug > out.txt 2> err.txt
+cmp out.txt out.ref
+
+rm -f out.txt err.txt
+clean
+
+echo "Test successful"