aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-04-27 06:15:26 +0200
committerTristan Gingold <tgingold@free.fr>2021-04-27 21:14:33 +0200
commita1ad6aaf18edd20bbcae1951559437a75fad3967 (patch)
tree726e9946cfe28430f8a14cfa18c6edc5cd741064 /testsuite/gna
parente225ca7b99fa12a57ccdc87705a600022a74b207 (diff)
downloadghdl-a1ad6aaf18edd20bbcae1951559437a75fad3967.tar.gz
ghdl-a1ad6aaf18edd20bbcae1951559437a75fad3967.tar.bz2
ghdl-a1ad6aaf18edd20bbcae1951559437a75fad3967.zip
testsuite/testenv.sh: Add ghw_dump function
Also define ghw_dump to have only one function that calls GHWDUMP.
Diffstat (limited to 'testsuite/gna')
-rwxr-xr-xtestsuite/gna/issue1326/testsuite.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/gna/issue1326/testsuite.sh b/testsuite/gna/issue1326/testsuite.sh
index 3c7edba08..082a04bf8 100755
--- a/testsuite/gna/issue1326/testsuite.sh
+++ b/testsuite/gna/issue1326/testsuite.sh
@@ -8,7 +8,7 @@ if ghdl_has_feature mytestbench ghw; then
elab_simulate mytestbench --wave=dump.ghw | tee mytestbench.out
# We're just checking that ghwdump doesn't crash on a zero length signal.
- "${GHWDUMP:-ghwdump}" -ths dump.ghw > dump.txt
+ ghw_dump dump
rm -f mytestbench.out dump.txt dump.ghw
fi