[ostree: 23/70] Load g-i bindings from builddir during build-time testing



commit 07aa8e1c76463e3de0ffc79d0271773ababf05b4
Author: Simon McVittie <smcv debian org>
Date:   Thu Mar 31 09:02:23 2016 +0100

    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

 Makefile-tests.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/Makefile-tests.am b/Makefile-tests.am
index c92b0be..4241ddb 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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]