diff options
| author | Amitay Isaacs <amitay@ozlabs.org> | 2018-11-14 16:14:10 +1100 |
|---|---|---|
| committer | Alistair Popple <alistair@popple.id.au> | 2018-11-15 15:18:00 +1100 |
| commit | 627f3f003a7ff14efed9699d7bec7c02c0283a54 (patch) | |
| tree | 3ad256329ac780ac114bb51a57d9d13dcc4a6065 /tests | |
| parent | a952df67b90a22a565c12dbcae8197509a01348e (diff) | |
| download | pdbg-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.sh | 2 |
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:-} |

