mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
tests: Add some debug output to desktop-app-info test
Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
1ea4ba8d6e
commit
f8421059e9
@ -408,6 +408,7 @@ run_apps (const gchar *command,
|
||||
gchar **argv;
|
||||
gint status;
|
||||
gchar *out;
|
||||
gchar *argv_str = NULL;
|
||||
|
||||
argv = g_new (gchar *, 4);
|
||||
argv[0] = g_test_build_filename (G_TEST_BUILT, "apps", NULL);
|
||||
@ -454,6 +455,10 @@ run_apps (const gchar *command,
|
||||
g_assert_true (success);
|
||||
g_assert_cmpuint (status, ==, 0);
|
||||
|
||||
argv_str = g_strjoinv (" ", argv);
|
||||
g_test_message ("%s: `%s` returned: %s", G_STRFUNC, argv_str, out);
|
||||
g_free (argv_str);
|
||||
|
||||
g_strfreev (envp);
|
||||
g_strfreev (argv);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user