[Pdbg] [PATCH v2 4/5] tests: Ensure tests can be run from builddir
Amitay Isaacs
amitay at ozlabs.org
Wed Nov 14 16:14:10 AEDT 2018
Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
Reviewed-by: Alistair Popple <alistair at popple.id.au>
---
tests/driver.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/driver.sh b/tests/driver.sh
index f1f7612..16d6b71 100644
--- a/tests/driver.sh
+++ b/tests/driver.sh
@@ -84,7 +84,7 @@ if [ "$TESTDIR" = "." ] ; then
TESTDIR=$(cd "$TESTDIR"; pwd)
fi
SRCDIR=$(dirname "$TESTDIR")
-PATH="$SRCDIR":$PATH
+PATH="$SRCDIR":.:$PATH
test_name=${TEST_NAME:-$0}
test_logfile=${TEST_LOG:-}
--
2.19.1
More information about the Pdbg
mailing list