proxy/tests/libproxy: Set GIO_EXTRA_MODULES to use the just-built module
authorIain Lane <iain.lane@canonical.com>
Tue, 14 May 2013 11:54:17 +0000 (12:54 +0100)
committerDan Winship <danw@gnome.org>
Tue, 14 May 2013 15:02:20 +0000 (11:02 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=700286

proxy/tests/libproxy.c

index b2f6de8..f46c27c 100644 (file)
@@ -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,