glib/gobject/tests
Philip Withnall 1ae54da69b tests: Continue closure-refcount test until all three threads are seen
Previously, the test assumed that thread1 and thread2 would be scheduled
enough to set seen_thread{1,2} by the fact that the test runs for a high
number of iterations. On some platforms/schedulers, that’s not true,
which causes the test to spuriously fail.

Fix that by forcing the test to continue iterating until both threads
are seen. If this takes too long, the Meson test runner timeout will be
hit and the test will be terminated.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2019-02-27 12:31:06 +00:00
..
.gitignore .gitignore updates 2015-10-23 11:28:03 -04:00
autoptr.c gobject, tests: add tests for autoptr (and lists) with declared 2018-11-14 22:47:39 -06:00
binding.c g_binding_unbind: make it more introspection friendly; allow calling it multiple times. Fixes #1373 2018-08-16 11:27:34 +02:00
boxed.c boxed: Fix double free in boxed unit tests 2013-11-11 07:20:09 +01:00
closure-refcount.c tests: Continue closure-refcount test until all three threads are seen 2019-02-27 12:31:06 +00:00
closure.c Fix the closure test in continuous 2014-05-30 10:22:35 -04:00
dynamictests.c Drop trailing semi-colon from G_DEFINE_ macro 2017-04-10 10:38:31 +01:00
enums.c gobject: Add to_string() functions for Enum and Flags types 2017-03-30 09:52:28 +01:00
flags.c Add unit test for flags validation 2018-11-01 01:41:32 +03:00
ifaceproperties.c gobject/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
marshalers.list Add more tests for signal emissions 2012-03-02 17:13:04 +01:00
meson.build build: Move tests/refcount/closures to gobject/tests/closure-refcount 2019-02-27 11:48:29 +00:00
mkenums.py tests: s/assertEquals/assertEqual/ 2018-12-12 12:57:51 +01:00
object.c gobject: re-allow finalization from constructor() 2014-02-15 10:20:53 -05:00
param.c Drop trailing semi-colon from G_DEFINE_ macro 2017-04-10 10:38:31 +01:00
private.c Deprecate g_type_class_add_private() 2018-06-14 11:33:53 +01:00
properties.c tests: Various minor leak fixes in the GObject tests 2018-06-29 12:13:32 +01:00
qdata.c gobject/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
reference.c gobject: Make g_clear_object take a non-volatile GObject ** 2018-07-12 08:47:40 +01:00
signal-handler.c Add a performance test for signal connection 2015-05-27 14:41:19 -04:00
signals.c Fix the signals test 2016-08-27 22:54:39 -04:00
taptestrunner.py tests: Avoid writing ever increasing sequence of null bytes to test logs 2018-12-12 12:57:51 +01:00
testcommon.h gobject/tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-24 11:58:19 +02:00
threadtests.c g_usleep: round up the next millisecond on Windows. See #1371 2018-05-27 09:23:25 +02:00
type.c Improve test coverage in gobject/ 2013-05-29 08:37:08 -04:00
value.c Allow passing unset GValues to g_value_unset() 2015-10-02 10:07:53 -04:00