Commit 3890f7f5 authored by Philip Withnall's avatar Philip Withnall

tests: Fix skipping of appinfo tests when DISPLAY is unset

Use g_test_skip() so that the TAP output is correct for the tests,
rather than printing using g_printerr().
Signed-off-by: Philip Withnall's avatarPhilip Withnall <>

parent ad3947c4
......@@ -17,7 +17,7 @@ test_launch_for_app_info (GAppInfo *appinfo)
if (g_getenv ("DISPLAY") == NULL || g_getenv ("DISPLAY")[0] == '\0')
g_printerr ("No DISPLAY. Skipping test. ");
g_test_skip ("No DISPLAY set");
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