diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-11-01 13:33:15 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-11-01 13:37:52 -0400 |
commit | 34d002121dd59d85baeb1682a4044dcc7c95643a (patch) | |
tree | 1191734d5435542ed2b9bc71e44787a2200bbde6 | |
parent | 22bb1bd56800fa25a716e32641d1d9f12bc9422d (diff) | |
download | gtk+-34d002121dd59d85baeb1682a4044dcc7c95643a.tar.gz |
reftests: Print out a helpful error
When module loading fails, print out the error.
-rw-r--r-- | testsuite/reftests/reftest-snapshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]); |