mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 09:46:17 +01:00
Merge branch '2307-mainloop-test-asan' into 'main'
tests: Re-enable mainloop test under AddressSanitizer Closes #2307 See merge request GNOME/glib!3329
This commit is contained in:
commit
3f390d5598
@ -1702,10 +1702,6 @@ threadf (gpointer data)
|
|||||||
static void
|
static void
|
||||||
test_mainloop_wait (void)
|
test_mainloop_wait (void)
|
||||||
{
|
{
|
||||||
#ifdef _GLIB_ADDRESS_SANITIZER
|
|
||||||
(void) threadf;
|
|
||||||
g_test_incomplete ("FIXME: Leaks a GMainLoop, see glib#2307");
|
|
||||||
#else
|
|
||||||
GMainContext *context;
|
GMainContext *context;
|
||||||
GThread *t1, *t2;
|
GThread *t1, *t2;
|
||||||
|
|
||||||
@ -1718,7 +1714,6 @@ test_mainloop_wait (void)
|
|||||||
g_thread_join (t2);
|
g_thread_join (t2);
|
||||||
|
|
||||||
g_main_context_unref (context);
|
g_main_context_unref (context);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user