From 45dba464bc2f69145753e4c9c9b1dde0868ec878 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 9 Feb 2016 20:27:51 +0100 Subject: testsuite: check feature before testing it. --- testsuite/gna/bug05/testsuite.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testsuite/gna/bug05') diff --git a/testsuite/gna/bug05/testsuite.sh b/testsuite/gna/bug05/testsuite.sh index 5343c9343..7f3c77360 100755 --- a/testsuite/gna/bug05/testsuite.sh +++ b/testsuite/gna/bug05/testsuite.sh @@ -7,7 +7,9 @@ elab tb if ghdl_has_feature tb fst; then simulate tb --fst=tb.fst fi -simulate tb --vcd=tb.vcd +if ghdl_has_feature tb vcd; then + simulate tb --vcd=tb.vcd +fi clean rm -f tb.fst tb.vcd -- cgit v1.2.3