aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue668/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue668/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue668/testsuite.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/testsuite/gna/issue668/testsuite.sh b/testsuite/gna/issue668/testsuite.sh
new file mode 100755
index 000000000..19b6004b5
--- /dev/null
+++ b/testsuite/gna/issue668/testsuite.sh
@@ -0,0 +1,25 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+export GHDL_STD_FLAGS=--std=08
+analyze tb.vhdl
+elab wb_demux_tb
+
+if ghdl_has_feature wb_demux_tb ghw; then
+ simulate wb_demux_tb --dump-rti
+ simulate wb_demux_tb --wave=w.ghw
+fi
+
+analyze repro2.vhdl
+elab repro2
+if ghdl_has_feature repro2 ghw; then
+ simulate repro2 --dump-rti
+ simulate repro2 --wave=w.ghw
+fi
+
+clean
+
+rm -f w.ghw
+
+echo "Test successful"