mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
tests: Re-enable mainloop test under AddressSanitizer
This is a partial revert of commitf378352051
. The leak of a `GMainLoop` which prompted it has been fixed by commit4f5da83381
in merge request !2535. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> See: #2598 Fixes: #2307
This commit is contained in:
parent
e979fd9a15
commit
7df41f6a1c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user