Load g-i bindings from builddir during build-time testing

Previously, the build-time tests would only pass if the g-i bindings to
OSTree were already installed, with a reasonably similar version.

Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #232
Approved by: cgwalters
This commit is contained in:
Simon McVittie 2016-03-31 09:02:23 +01:00 committed by Colin Walters (automation)
parent 2b9032f016
commit 07aa8e1c76
1 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,10 @@ include $(top_srcdir)/buildutil/glib-tap.mk
TESTS_ENVIRONMENT += OT_TESTS_DEBUG=1 \
SRCDIR=$$(cd $(top_srcdir) && pwd) \
BUILDDIR=$$(cd $(top_builddir) && pwd) \
PATH=$$(cd $(top_builddir) && pwd):$${PATH}
GI_TYPELIB_PATH=$$(cd $(top_builddir) && pwd) \
LD_LIBRARY_PATH=$$(cd $(top_builddir)/.libs && pwd) \
PATH=$$(cd $(top_builddir) && pwd):$${PATH} \
$(NULL)
uninstalled_test_scripts = tests/test-abi.sh