projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22bb1bd
)
reftests: Print out a helpful error
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 1 Nov 2019 17:33:15 +0000
(13:33 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 1 Nov 2019 17:37:52 +0000
(13:37 -0400)
When module loading fails, print out the error.
testsuite/reftests/reftest-snapshot.c
patch
|
blob
|
history
diff --git
a/testsuite/reftests/reftest-snapshot.c
b/testsuite/reftests/reftest-snapshot.c
index 231ff722e2b6ee5a89683d73d6923eacd9cd0d23..04e6c23fbdd1a5be0b0023efde7837827330945b 100644
(file)
--- 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]);