mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
gio/tests/cancellable: Explain failure on GCancellableSource tests on valgrind
It looks like that finally also valgrind notices the same leaks as address sanitizer does. It does it more randomly but it still happens, so better to inform about until #2309 is resolved.
This commit is contained in:
parent
86dd02f487
commit
365411ea32
@ -25,6 +25,7 @@
|
||||
#include <gio/gio.h>
|
||||
|
||||
#include "glib/glib-private.h"
|
||||
#include "glib/gvalgrind.h"
|
||||
|
||||
/* How long to wait in ms for each iteration */
|
||||
#define WAIT_ITERATION (10)
|
||||
@ -276,6 +277,11 @@ test_cancellable_source_threaded_dispose (void)
|
||||
"to (in another thread)");
|
||||
g_test_bug ("https://gitlab.gnome.org/GNOME/glib/issues/1841");
|
||||
|
||||
#ifdef ENABLE_VALGRIND
|
||||
if (RUNNING_ON_VALGRIND)
|
||||
g_test_incomplete ("FIXME: Leaks lots of GCancellableSource objects, see glib#2309");
|
||||
#endif
|
||||
|
||||
/* Create a new thread and wait until it’s ready to execute. Each iteration of
|
||||
* the test will pass it a new #GCancellableSource. */
|
||||
g_cond_init (&data.cond);
|
||||
|
Loading…
Reference in New Issue
Block a user