summaryrefslogtreecommitdiff
path: root/testsuite/gna/bug05/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug05/testsuite.sh')
-rwxr-xr-xtestsuite/gna/bug05/testsuite.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/testsuite/gna/bug05/testsuite.sh b/testsuite/gna/bug05/testsuite.sh
index 42a3e39..5343c93 100755
--- a/testsuite/gna/bug05/testsuite.sh
+++ b/testsuite/gna/bug05/testsuite.sh
@@ -3,8 +3,11 @@
. ../../testenv.sh
analyze repro.vhdl
-elab_simulate tb --fst=tb.fst
-elab_simulate tb --vcd=tb.vcd
+elab tb
+if ghdl_has_feature tb fst; then
+ simulate tb --fst=tb.fst
+fi
+simulate tb --vcd=tb.vcd
clean
rm -f tb.fst tb.vcd