From ce71da63ba566702978ee8f7f290821e073c2f57 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 20 Aug 2024 13:01:17 +0100 Subject: [PATCH] Revert "gio/tests/cancellable: Explain failure on GCancellableSource tests on valgrind" This reverts commit 365411ea327a5f126896b106fe81a113bc0cc7df. Since commit 3a07b2abd4006da33cdfb0916b266a21070a47d6, issue 2309 has been fixed, so we should no longer have failures from valgrind here. --- gio/tests/cancellable.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gio/tests/cancellable.c b/gio/tests/cancellable.c index 1698f5072..5379812d7 100644 --- a/gio/tests/cancellable.c +++ b/gio/tests/cancellable.c @@ -25,7 +25,6 @@ #include #include "glib/glib-private.h" -#include "glib/gvalgrind.h" /* How long to wait in ms for each iteration */ #define WAIT_ITERATION (10) @@ -276,11 +275,6 @@ test_cancellable_source_threaded_dispose (void) g_test_bug ("https://gitlab.gnome.org/GNOME/glib/issues/2309"); #endif -#ifdef ENABLE_VALGRIND - if (RUNNING_ON_VALGRIND) - g_test_incomplete ("FIXME: Leaks lots of GCancellableSource objects, see glib#2309"); -#endif - /* Create a new thread and wait until it’s ready to execute. Each iteration of * the test will pass it a new #GCancellableSource. */ g_cond_init (&data.cond);