[glib/nirbheek/remove-outdated-libtool-stuff] gio/tests: Remove code and comments referring to libtool



commit 5e7f12b0ce5203c08af8d868c5958a6ad891db80
Author: Nirbheek Chauhan <nirbheek centricular com>
Date:   Sat Jul 13 12:23:07 2019 +0530

    gio/tests: Remove code and comments referring to libtool

 gio/tests/giomodule.c | 3 ---
 gio/tests/resources.c | 1 -
 2 files changed, 4 deletions(-)
---
diff --git a/gio/tests/giomodule.c b/gio/tests/giomodule.c
index cceabb8c4..61746d3d1 100644
--- a/gio/tests/giomodule.c
+++ b/gio/tests/giomodule.c
@@ -89,7 +89,6 @@ test_module_scan_all (void)
       GList *list;
       ep = g_io_extension_point_register ("test-extension-point");
       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;
@@ -117,8 +116,6 @@ test_module_scan_all_with_scope (void)
       g_io_module_scope_block (scope, MODULE_FILENAME_PREFIX "testmoduleb." G_MODULE_SUFFIX);
       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_BUILT, "modules/.libs", 
NULL), scope);
-      list = g_io_extension_point_get_extensions (ep);
       g_assert_cmpint (g_list_length (list), ==, 1);
       ext = list->data;
       g_assert_cmpstr (g_io_extension_get_name (ext), ==, "test-a");
diff --git a/gio/tests/resources.c b/gio/tests/resources.c
index 00e466aef..5cacda16a 100644
--- a/gio/tests/resources.c
+++ b/gio/tests/resources.c
@@ -646,7 +646,6 @@ test_resource_module (void)
 
   if (g_module_supported ())
     {
-      /* For in-tree, this will find the .la file and use it to get to the .so in .libs/ */
       module = g_io_module_new (g_test_get_filename (G_TEST_BUILT,
                                                      MODULE_FILENAME_PREFIX "resourceplugin",
                                                      NULL));


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