aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/bug011/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/bug011/testsuite.sh')
-rwxr-xr-xtestsuite/gna/bug011/testsuite.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/gna/bug011/testsuite.sh b/testsuite/gna/bug011/testsuite.sh
index 5823c99d5..0ad0ee761 100755
--- a/testsuite/gna/bug011/testsuite.sh
+++ b/testsuite/gna/bug011/testsuite.sh
@@ -3,7 +3,10 @@
. ../../testenv.sh
analyze phonybench.vhdl
-elab_simulate phonybench --stop-time=1sec --fst=pb.fst
+elab phonybench
+if ghdl_has_feature phonybench fst; then
+ elab_simulate phonybench --stop-time=1sec --fst=pb.fst
+fi
rm -f pb.fst pb.ghw