aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug045/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug045/testsuite.sh')
-rwxr-xr-xtestsuite/gna/bug045/testsuite.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gna/bug045/testsuite.sh b/testsuite/gna/bug045/testsuite.sh
new file mode 100755
index 000000000..7f3c77360
--- /dev/null
+++ b/testsuite/gna/bug045/testsuite.sh
@@ -0,0 +1,17 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze repro.vhdl
+elab tb
+if ghdl_has_feature tb fst; then
+ simulate tb --fst=tb.fst
+fi
+if ghdl_has_feature tb vcd; then
+ simulate tb --vcd=tb.vcd
+fi
+
+clean
+rm -f tb.fst tb.vcd
+
+echo "Test successful"