Commit f8421059 authored by Philip Withnall's avatar Philip Withnall

tests: Add some debug output to desktop-app-info test

Signed-off-by: Philip Withnall's avatarPhilip Withnall <>
parent 1ea4ba8d
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment