diff options
author | Philip Withnall <pwithnall@endlessos.org> | 2023-03-17 15:44:14 +0000 |
---|---|---|
committer | Philip Withnall <pwithnall@endlessos.org> | 2023-03-17 15:44:14 +0000 |
commit | 7df41f6a1c405a4056411b1d6d38528450430bd1 (patch) | |
tree | be82a7c4e5292b71cb5a511ba121975dba2c2dc8 | |
parent | e979fd9a157688a1a65fb58250b2a9fe94d14d50 (diff) | |
download | glib-7df41f6a1c405a4056411b1d6d38528450430bd1.tar.gz |
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 <pwithnall@endlessos.org>
See: #2598
Fixes: #2307
-rw-r--r-- | glib/tests/mainloop.c | 5 |
1 files changed, 0 insertions, 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 |