diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-10-09 14:20:17 +0400 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-10-14 16:19:29 +1100 |
commit | aa522da9fff610e9fdad62f5d191e9cbd4ff0fc5 (patch) | |
tree | 0644f4161a2ad79a7d7866c11f0a04d796bb1f3b /tests/fdtget-runtest.sh | |
parent | 0d0d0fa51b1f9703d324bac1d8cf000adca6be62 (diff) | |
download | device-tree-compiler-aa522da9fff610e9fdad62f5d191e9cbd4ff0fc5.tar.gz |
tests: allow out-of-tree test run
meson runs out-of-tree, add absolute path location where necessary.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20191009102025.10179-3-marcandre.lureau@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/fdtget-runtest.sh')
-rwxr-xr-x | tests/fdtget-runtest.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/fdtget-runtest.sh b/tests/fdtget-runtest.sh index 21044f3..18b7404 100755 --- a/tests/fdtget-runtest.sh +++ b/tests/fdtget-runtest.sh @@ -1,6 +1,7 @@ #! /bin/sh -. ./testutils.sh +SRCDIR=`dirname "$0"` +. "$SRCDIR/testutils.sh" LOG=tmp.log.$$ EXPECT=tmp.expect.$$ |