From 65ff056ac4c25141cc06e484bce040635e4abd3d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 18 Jun 2018 23:27:20 -0400 Subject: test: fix out of tree tests The run script is in $srcdir, not $PWD (aka $builddir). This fixes `make distcheck`. --- test/runwrapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/runwrapper b/test/runwrapper index 8281a15..6e0e899 100755 --- a/test/runwrapper +++ b/test/runwrapper @@ -4,4 +4,4 @@ if [ -e "$PWD/.libs/libtestlookup.so" ]; then export LD_PRELOAD="$PWD/.libs/libtestlookup.so" fi -$PWD/test/run $@ +"${srcdir:-${PWD}}"/test/run "$@" -- cgit v1.2.1