diff --git a/gio/tests/appinfo.c b/gio/tests/appinfo.c index bd76729c4..b69194f75 100644 --- a/gio/tests/appinfo.c +++ b/gio/tests/appinfo.c @@ -16,12 +16,6 @@ test_launch_for_app_info (GAppInfo *appinfo) const gchar *path; gchar *uri; - if (g_getenv ("DISPLAY") == NULL || g_getenv ("DISPLAY")[0] == '\0') - { - g_test_skip ("No DISPLAY set"); - return; - } - success = g_app_info_launch (appinfo, NULL, NULL, &error); g_assert_no_error (error); g_assert_true (success); diff --git a/gio/tests/desktop-app-info.c b/gio/tests/desktop-app-info.c index cd49bd95a..c7ff77047 100644 --- a/gio/tests/desktop-app-info.c +++ b/gio/tests/desktop-app-info.c @@ -993,12 +993,6 @@ test_launch_as_manager (void) gboolean launched = FALSE; GAppLaunchContext *context; - if (g_getenv ("DISPLAY") == NULL || g_getenv ("DISPLAY")[0] == '\0') - { - g_test_skip ("No DISPLAY. Skipping test."); - return; - } - path = g_test_get_filename (G_TEST_BUILT, "appinfo-test.desktop", NULL); appinfo = g_desktop_app_info_new_from_filename (path);