From 6e118c1d32b9a8ad674e765a52f861b2db5b34f5 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 16 Sep 2015 05:59:42 +0200 Subject: testsuite: run fst tests only if fst feature is present. --- testsuite/gna/bug011/testsuite.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'testsuite/gna/bug011') diff --git a/testsuite/gna/bug011/testsuite.sh b/testsuite/gna/bug011/testsuite.sh index 5823c99..0ad0ee7 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 -- cgit