summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-11-01 17:45:38 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-11-01 17:45:38 +0000
commit5f627a2cb6b0e0abd4d4610b14a2cb8f7109bc04 (patch)
treedb8425e238c269e8952f9df9edae413de4389173
parent28898445ff68a253ce4c1117e9c33748ab95b563 (diff)
parent34d002121dd59d85baeb1682a4044dcc7c95643a (diff)
downloadgtk+-5f627a2cb6b0e0abd4d4610b14a2cb8f7109bc04.tar.gz
Merge branch 'reftest-fixes' into 'master'
Reftest fixes See merge request GNOME/gtk!1157
-rw-r--r--testsuite/reftests/reftest-module.c19
-rw-r--r--testsuite/reftests/reftest-snapshot.c2
2 files changed, 2 insertions, 19 deletions
diff --git a/testsuite/reftests/reftest-module.c b/testsuite/reftests/reftest-module.c
index 78fd1833aa..acab359522 100644
--- a/testsuite/reftests/reftest-module.c
+++ b/testsuite/reftests/reftest-module.c
@@ -98,25 +98,8 @@ reftest_module_new (const char *directory,
module = g_module_open (full_path, G_MODULE_BIND_LOCAL | G_MODULE_BIND_LAZY);
if (module == NULL)
{
- /* libtool hack */
- char *libtool_dir = g_build_filename (directory, ".libs", NULL);
-
g_free (full_path);
- full_path = g_module_build_path (libtool_dir, module_name);
-
- result = reftest_module_find_existing (full_path);
- if (result)
- {
- g_free (full_path);
- return reftest_module_ref (result);
- }
-
- module = g_module_open (full_path, G_MODULE_BIND_LOCAL | G_MODULE_BIND_LAZY);
- if (module == NULL)
- {
- g_free (full_path);
- return NULL;
- }
+ return NULL;
}
return reftest_module_new_take (module, full_path);
diff --git a/testsuite/reftests/reftest-snapshot.c b/testsuite/reftests/reftest-snapshot.c
index 231ff722e2..04e6c23fbd 100644
--- a/testsuite/reftests/reftest-snapshot.c
+++ b/testsuite/reftests/reftest-snapshot.c
@@ -194,7 +194,7 @@ connect_signals (GtkBuilder *builder,
module = reftest_module_new (directory, split[0]);
if (module == NULL)
{
- g_error ("Could not load module '%s' from '%s' when looking up '%s'", split[0], directory, handler_name);
+ g_error ("Could not load module '%s' from '%s' when looking up '%s': %s", split[0], directory, handler_name, g_module_error ());
return;
}
func = reftest_module_lookup (module, split[1]);