aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue158/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-10-10 06:57:22 +0200
committerTristan Gingold <tgingold@free.fr>2016-10-10 06:57:22 +0200
commit498665c5328fa2c2e0a0d114e39c545d04fbdfe9 (patch)
tree76a4da70933c53c2f7a8c3d07d1eb9bd564583e3 /testsuite/gna/issue158/testsuite.sh
parent26005c0d7a24b0b436625bbe7c7e869bf8f5079e (diff)
downloadghdl-498665c5328fa2c2e0a0d114e39c545d04fbdfe9.tar.gz
ghdl-498665c5328fa2c2e0a0d114e39c545d04fbdfe9.tar.bz2
ghdl-498665c5328fa2c2e0a0d114e39c545d04fbdfe9.zip
Add reproducer for issue #158
Diffstat (limited to 'testsuite/gna/issue158/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue158/testsuite.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/gna/issue158/testsuite.sh b/testsuite/gna/issue158/testsuite.sh
new file mode 100755
index 000000000..cc3b19ef5
--- /dev/null
+++ b/testsuite/gna/issue158/testsuite.sh
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze repro.vhdl
+if ghdl_has_feature repro ghw; then
+ elab_simulate repro --wave=repro.ghw
+ # How to test the ghw ? Use ghwdump ?
+fi
+clean
+rm -f repro.ghw
+
+echo "Test successful"