[glib-networking] proxy/tests/libproxy: Set GIO_EXTRA_MODULES to use the just-built module



commit 5d29c30f2224c2695a8a0f1bbadd92a78d0ba005
Author: Iain Lane <iain lane canonical com>
Date:   Tue May 14 12:54:17 2013 +0100

    proxy/tests/libproxy: Set GIO_EXTRA_MODULES to use the just-built module
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700286

 proxy/tests/libproxy.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/proxy/tests/libproxy.c b/proxy/tests/libproxy.c
index b2f6de8..f46c27c 100644
--- a/proxy/tests/libproxy.c
+++ b/proxy/tests/libproxy.c
@@ -80,6 +80,9 @@ main (int   argc,
   g_unsetenv ("DESKTOP_SESSION");
   g_unsetenv ("KDE_FULL_SESSION");
 
+  /* Use the just-built libproxy module */
+  g_setenv ("GIO_EXTRA_MODULES", TOP_BUILDDIR "/proxy/libproxy/.libs", TRUE);
+
   g_test_add_vtable ("/proxy/libproxy/uri", 0, NULL,
                     reset_proxy_settings, test_proxy_uri, NULL);
   g_test_add_vtable ("/proxy/libproxy/socks", 0, NULL,


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