[glib] giomodule test: fix again



commit 4130118a72c1389efe7c646b620932bb33a06530
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Jan 13 16:12:31 2014 -0500

    giomodule test: fix again
    
    The compiled modules will be in the G_TEST_BUILT directory, not _DIST.

 gio/tests/giomodule.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gio/tests/giomodule.c b/gio/tests/giomodule.c
index 235f38f..e832e95 100644
--- a/gio/tests/giomodule.c
+++ b/gio/tests/giomodule.c
@@ -82,8 +82,8 @@ test_module_scan_all (void)
       GIOExtension *ext;
       GList *list;
       ep = g_io_extension_point_register ("test-extension-point");
-      g_io_modules_scan_all_in_directory (g_test_get_filename (G_TEST_DIST, "modules", NULL));
-      g_io_modules_scan_all_in_directory (g_test_get_filename (G_TEST_DIST, "modules/.libs", NULL));
+      g_io_modules_scan_all_in_directory (g_test_get_filename (G_TEST_BUILT, "modules", NULL));
+      g_io_modules_scan_all_in_directory (g_test_get_filename (G_TEST_BUILT, "modules/.libs", NULL));
       list = g_io_extension_point_get_extensions (ep);
       g_assert_cmpint (g_list_length (list), ==, 2);
       ext = list->data;
@@ -109,9 +109,9 @@ test_module_scan_all_with_scope (void)
       ep = g_io_extension_point_register ("test-extension-point");
       scope = g_io_module_scope_new (G_IO_MODULE_SCOPE_BLOCK_DUPLICATES);
       g_io_module_scope_block (scope, "libtestmoduleb." G_MODULE_SUFFIX);
-      g_io_modules_scan_all_in_directory_with_scope (g_test_get_filename (G_TEST_DIST, "modules", NULL), 
scope);
+      g_io_modules_scan_all_in_directory_with_scope (g_test_get_filename (G_TEST_BUILT, "modules", NULL), 
scope);
       list = g_io_extension_point_get_extensions (ep);
-      g_io_modules_scan_all_in_directory_with_scope (g_test_get_filename (G_TEST_DIST, "modules/.libs", 
NULL), scope);
+      g_io_modules_scan_all_in_directory_with_scope (g_test_get_filename (G_TEST_BUILT, "modules/.libs", 
NULL), scope);
       list = g_io_extension_point_get_extensions (ep);
       g_assert_cmpint (g_list_length (list), ==, 1);
       ext = list->data;


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