From 7df41f6a1c405a4056411b1d6d38528450430bd1 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 17 Mar 2023 15:44:14 +0000 Subject: tests: Re-enable mainloop test under AddressSanitizer This is a partial revert of commit f378352051. The leak of a `GMainLoop` which prompted it has been fixed by commit 4f5da8338127e25e5ebb54f5a4a95ffc2e40adcc in merge request !2535. Signed-off-by: Philip Withnall See: #2598 Fixes: #2307 --- glib/tests/mainloop.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/glib/tests/mainloop.c b/glib/tests/mainloop.c index 9904da833..4c63df168 100644 --- a/glib/tests/mainloop.c +++ b/glib/tests/mainloop.c @@ -1702,10 +1702,6 @@ threadf (gpointer data) static void test_mainloop_wait (void) { -#ifdef _GLIB_ADDRESS_SANITIZER - (void) threadf; - g_test_incomplete ("FIXME: Leaks a GMainLoop, see glib#2307"); -#else GMainContext *context; GThread *t1, *t2; @@ -1718,7 +1714,6 @@ test_mainloop_wait (void) g_thread_join (t2); g_main_context_unref (context); -#endif } #endif -- cgit v1.2.1