summaryrefslogtreecommitdiff
path: root/testsuite/gna/bug05/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold2015-09-16 05:59:42 +0200
committerTristan Gingold2015-09-16 05:59:42 +0200
commit6e118c1d32b9a8ad674e765a52f861b2db5b34f5 (patch)
tree802e4dccfbc3b27f358dcf65ac71a279d7e4f127 /testsuite/gna/bug05/testsuite.sh
parent0b97af64e0cee61513ffedbe180391d94bb7cf69 (diff)
downloadghdl-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/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