glib-tested: skip broken timer test on i686
This commit is contained in:
parent
47f84c63bb
commit
30aac2c877
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1d98mbqjmc34s8095lkw1j1bwvnnkw9581yfvjaikjvfjsaz29qd";
|
sha256 = "1d98mbqjmc34s8095lkw1j1bwvnnkw9581yfvjaikjvfjsaz29qd";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = optional stdenv.isDarwin ./darwin-compilation.patch;
|
patches = optional stdenv.isDarwin ./darwin-compilation.patch ++ optional doCheck ./skip-timer-test.patch;
|
||||||
|
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
|
17
pkgs/development/libraries/glib/skip-timer-test.patch
Normal file
17
pkgs/development/libraries/glib/skip-timer-test.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
Description: Skip test which performs some unreliable floating point comparisons
|
||||||
|
Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=722604
|
||||||
|
|
||||||
|
Index: b/glib/tests/timer.c
|
||||||
|
===================================================================
|
||||||
|
--- a/glib/tests/timer.c
|
||||||
|
+++ b/glib/tests/timer.c
|
||||||
|
@@ -203,7 +203,7 @@
|
||||||
|
{
|
||||||
|
g_test_init (&argc, &argv, NULL);
|
||||||
|
|
||||||
|
- g_test_add_func ("/timer/basic", test_timer_basic);
|
||||||
|
+/* g_test_add_func ("/timer/basic", test_timer_basic);*/
|
||||||
|
- g_test_add_func ("/timer/stop", test_timer_stop);
|
||||||
|
+/* g_test_add_func ("/timer/stop", test_timer_stop);*/
|
||||||
|
g_test_add_func ("/timer/continue", test_timer_continue);
|
||||||
|
g_test_add_func ("/timer/reset", test_timer_reset);
|
Loading…
x
Reference in New Issue
Block a user