diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/testsuite.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/testsuite.sh b/testsuite/testsuite.sh index 4c454d35c..cc1b91910 100755 --- a/testsuite/testsuite.sh +++ b/testsuite/testsuite.sh @@ -87,6 +87,15 @@ if [ "x$GHDL" = "x" ]; then fi fi +if [ "$GHWDUMP" = "" ]; then + case "$GHDL" in + */*) export GHWDUMP=${GHDL%/*}/ghwdump;; + *) export GHWDUMP=ghwdump;; + esac +fi + +command -v "$GHWDUMP" >/dev/null || die "ghwdump executable not found: $GHWDUMP" + cd $(dirname "$0") rm -f test_ok failures="" |