mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
Merge branch '640-appinfo-skip-display' into 'master'
tests: Fix skipping of appinfo tests when DISPLAY is unset Closes #640 See merge request GNOME/glib!171
This commit is contained in:
commit
bdf70242b7
@ -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");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user