diff options
author | Simon McVittie <smcv@collabora.com> | 2021-08-05 15:02:24 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2021-08-05 15:02:24 +0100 |
commit | 45d3b25e40420e13c8cfa6280efbd156f9079c32 (patch) | |
tree | a4ec83a77df0e56552dc42ce39c69d1159dd4e63 | |
parent | be4b8cbe96ecd8d7d738fb9c80729285123ecdf3 (diff) | |
download | glib-wip/freebsd-gdbus-names.tar.gz |
tests: Don't run new test from !1904 on FreeBSD CIwip/freebsd-gdbus-names
This does not seem to be reliable on FreeBSD: it intermittently times
out. Disable it during normal CI runs on FreeBSD, so that we can
continue to use the rest of the test-suite as a CI gate on FreeBSD,
and so that we can continue to use this test as a CI gate on all other
architectures.
Mitigates: https://gitlab.gnome.org/GNOME/glib/-/issues/2457
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r-- | gio/tests/gdbus-names.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gio/tests/gdbus-names.c b/gio/tests/gdbus-names.c index 8504220a9..c9fce7b0d 100644 --- a/gio/tests/gdbus-names.c +++ b/gio/tests/gdbus-names.c @@ -1038,6 +1038,14 @@ watch_with_different_context (gboolean unwatch_early) GThread *watcher; guint id; +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + if (!g_test_thorough ()) + { + g_test_incomplete ("https://gitlab.gnome.org/GNOME/glib/-/issues/2457"); + return; + } +#endif + session_bus_up (); connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, NULL); |