[glib/wip/freebsd-thread-pool-free] tests: GThreadPool free-function is not reliably called on FreeBSD yet
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/freebsd-thread-pool-free] tests: GThreadPool free-function is not reliably called on FreeBSD yet
- Date: Thu, 5 Aug 2021 13:38:29 +0000 (UTC)
commit c68d3b6bdde0dd36aca9605b44076ad61b64f1e5
Author: Simon McVittie <smcv collabora com>
Date: Thu Aug 5 12:46:13 2021 +0100
tests: GThreadPool free-function is not reliably called on FreeBSD yet
This new feature in 2.69.0 does not appear to be reliable on the FreeBSD
CI runners. Disable this part of the test while it's investigated,
so that we can use CI as an acceptance gate for unrelated branches again.
Mitigates: https://gitlab.gnome.org/GNOME/glib/-/issues/2456
Signed-off-by: Simon McVittie <smcv collabora com>
glib/tests/thread-pool.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/glib/tests/thread-pool.c b/glib/tests/thread-pool.c
index 50a72a632..0e20d5dad 100644
--- a/glib/tests/thread-pool.c
+++ b/glib/tests/thread-pool.c
@@ -194,7 +194,14 @@ test_thread_pool_full (gconstpointer shared_first)
g_assert_true (success);
g_thread_pool_free (pool, TRUE, TRUE);
+
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+ if (!free_func_called)
+ g_test_incomplete ("GThreadPool free-function not called - "
+ "https://gitlab.gnome.org/GNOME/glib/-/issues/2456");
+#else
g_assert_true (free_func_called);
+#endif
}
int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]