diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-02-09 20:27:51 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-02-09 20:27:51 +0100 |
commit | 45dba464bc2f69145753e4c9c9b1dde0868ec878 (patch) | |
tree | 84ec4ab7344a59c26a175e299d57f594373068d4 /testsuite/gna/bug23165/testsuite.sh | |
parent | ae3865c0cbf1f71f7b8576031a37ac855060677b (diff) | |
download | ghdl-45dba464bc2f69145753e4c9c9b1dde0868ec878.tar.gz ghdl-45dba464bc2f69145753e4c9c9b1dde0868ec878.tar.bz2 ghdl-45dba464bc2f69145753e4c9c9b1dde0868ec878.zip |
testsuite: check feature before testing it.
Diffstat (limited to 'testsuite/gna/bug23165/testsuite.sh')
-rwxr-xr-x | testsuite/gna/bug23165/testsuite.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/gna/bug23165/testsuite.sh b/testsuite/gna/bug23165/testsuite.sh index 66e03f0c6..5fdbeeef6 100755 --- a/testsuite/gna/bug23165/testsuite.sh +++ b/testsuite/gna/bug23165/testsuite.sh @@ -8,7 +8,9 @@ elab_simulate mwe --stop-time=100us analyze mwe_working/counter.vhd analyze mwe_working/mwe.vhd -elab_simulate mwe --stop-time=100us --wave=output.ghw +if ghdl_has_feature mwe ghw; then + elab_simulate mwe --stop-time=100us --wave=output.ghw +fi analyze mwe2/mwe.vhd elab_simulate mwe --stop-time=100us |