python/hypothesis: update to 6.121.0
[oi-userland.git] / components / library / glib / patches / 24-timer-test-double.patch
blob662624aca1ea4053b0b3955a629350fafb65a0ef
1 Without this the following asserts fires.
2 The root cause is unclear.
4 --- glib-2.82.0/glib/tests/timer.c.orig
5 +++ glib-2.82.0/glib/tests/timer.c
6 @@ -27,6 +27,7 @@
7 #define GLIB_DISABLE_DEPRECATION_WARNINGS 1
9 #include "glib.h"
10 +#include <stdio.h>
12 static void
13 test_timer_basic (void)
14 @@ -77,6 +78,8 @@
15 g_usleep (100);
16 elapsed2 = g_timer_elapsed (timer, NULL);
18 + printf("elapsed: %f\n", elapsed);
19 + printf("elapsed2: %f\n", elapsed2);
20 g_assert_cmpfloat (elapsed, ==, elapsed2);
22 g_timer_destroy (timer);