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>
This commit is contained in:
Marc-André Lureau 2019-10-09 14:20:17 +04:00 committed by David Gibson
parent 0d0d0fa51b
commit aa522da9ff
9 changed files with 183 additions and 171 deletions

3
tests/fdtdump-runtest.sh Normal file → Executable file
View file

@ -4,7 +4,8 @@
# $1 - source file to compile and compare with fdtdump output of the
# compiled file.
. ./testutils.sh
SRCDIR=`dirname "$0"`
. "$SRCDIR/testutils.sh"
dts="$1"
dtb="${dts}.dtb"