summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@ozlabs.org>2018-11-14 16:14:10 +1100
committerAlistair Popple <alistair@popple.id.au>2018-11-15 15:18:00 +1100
commit627f3f003a7ff14efed9699d7bec7c02c0283a54 (patch)
tree3ad256329ac780ac114bb51a57d9d13dcc4a6065 /tests
parenta952df67b90a22a565c12dbcae8197509a01348e (diff)
downloadpdbg-627f3f003a7ff14efed9699d7bec7c02c0283a54.tar.gz
pdbg-627f3f003a7ff14efed9699d7bec7c02c0283a54.zip
tests: Ensure tests can be run from builddir
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> Reviewed-by: Alistair Popple <alistair@popple.id.au>
Diffstat (limited to 'tests')
-rw-r--r--tests/driver.sh2
1 files changed, 1 insertions, 1 deletions
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:-}
OpenPOWER on IntegriCloud