From 07aa8e1c76463e3de0ffc79d0271773ababf05b4 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 31 Mar 2016 09:02:23 +0100 Subject: [PATCH] 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 Closes: #232 Approved by: cgwalters --- Makefile-tests.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile-tests.am b/Makefile-tests.am index c92b0be1..4241ddb6 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -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