diff options
author | Tristan Gingold | 2015-09-16 05:59:42 +0200 |
---|---|---|
committer | Tristan Gingold | 2015-09-16 05:59:42 +0200 |
commit | 6e118c1d32b9a8ad674e765a52f861b2db5b34f5 (patch) | |
tree | 802e4dccfbc3b27f358dcf65ac71a279d7e4f127 /testsuite/gna/bug011 | |
parent | 0b97af64e0cee61513ffedbe180391d94bb7cf69 (diff) | |
download | ghdl-6e118c1d32b9a8ad674e765a52f861b2db5b34f5.tar.gz ghdl-6e118c1d32b9a8ad674e765a52f861b2db5b34f5.tar.bz2 ghdl-6e118c1d32b9a8ad674e765a52f861b2db5b34f5.zip |
testsuite: run fst tests only if fst feature is present.
Diffstat (limited to 'testsuite/gna/bug011')
-rwxr-xr-x | testsuite/gna/bug011/testsuite.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 |