aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/testenv.sh
diff options
context:
space:
mode:
authorumarcor <unai.martinezcorral@ehu.eus>2021-04-23 14:18:15 +0200
committerumarcor <unai.martinezcorral@ehu.eus>2021-04-23 14:28:07 +0200
commitd79fa58f7efc06a048adf9e2172792e64b8abb20 (patch)
treeadb21b7580a4a32a11c46adc13a340ca2aa2f6dc /testsuite/testenv.sh
parent82cdb8faaedfaa0c7e860aa024e13bf25e0618b3 (diff)
downloadghdl-d79fa58f7efc06a048adf9e2172792e64b8abb20.tar.gz
ghdl-d79fa58f7efc06a048adf9e2172792e64b8abb20.tar.bz2
ghdl-d79fa58f7efc06a048adf9e2172792e64b8abb20.zip
ci: set and use GHWDUMP envvar
Since the tests are executed without installing the package, the ones that depend on ghwdump do fail on AppVeyor. Use envvar GHWDUMP in testenv for optionally specifying the location.
Diffstat (limited to 'testsuite/testenv.sh')
-rw-r--r--testsuite/testenv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/testenv.sh b/testsuite/testenv.sh
index 7db202097..0d27c4a72 100644
--- a/testsuite/testenv.sh
+++ b/testsuite/testenv.sh
@@ -106,7 +106,7 @@ elab_simulate_failure ()
# Compare the dump of a GHW wave and a previous golden dump
ghw_diff ()
{
- ghwdump -ths "$1".ghw > "$1".txt
+ "${GHWDUMP:-ghwdump}" -ths "$1".ghw > "$1".txt
if diff --strip-trailing-cr "$1".txt golden_"$1".txt; then
echo "The ghw dump matches."
else