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
4f5da83381 in merge request !2535.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

See: #2598
Fixes: #2307
This commit is contained in:
Philip Withnall 2023-03-17 15:44:14 +00:00
parent e979fd9a15
commit 7df41f6a1c

View File

@ -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