diff options
author | Emmanuele Bassi <ebassi@gmail.com> | 2018-07-11 18:08:48 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gmail.com> | 2018-07-11 18:08:48 +0000 |
commit | bdf70242b701d00f9d398fc32ee7c11a0db76486 (patch) | |
tree | 77c7836b4c5a5f991d07ac3b387f1c50d752a091 | |
parent | 08f41d802a8323ca1e819f865747d7adfbfe87aa (diff) | |
parent | 3890f7f5cbb8de6a19855a17f7cf412639f64f2d (diff) | |
download | glib-bdf70242b701d00f9d398fc32ee7c11a0db76486.tar.gz |
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
-rw-r--r-- | gio/tests/appinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/tests/appinfo.c b/gio/tests/appinfo.c index ea4809d54..a52bc7094 100644 --- a/gio/tests/appinfo.c +++ b/gio/tests/appinfo.c @@ -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; } |