glib-tested: skip broken timer test on i686

This commit is contained in:
Luca Bruno 2014-08-27 17:16:50 +02:00
parent 47f84c63bb
commit 30aac2c877
2 changed files with 18 additions and 1 deletions

View File

@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
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;

View 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);