From 1d5f1a5462491bf877999525466fb83c55e7e66d Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Thu, 14 Sep 2023 19:14:21 +0200 Subject: gnu: glib-next: Disable failing tests on the Hurd. * gnu/packages/glib.scm (glib-next)[arguments]: In phase `disable-tests', disable four extra failing tests when building on the Hurd. --- gnu/packages/glib.scm | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index e2a0bbdcdf..b5eb4602da 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -532,7 +532,21 @@ functions for strings and common data structures.") (string-append "//" all "\n")) (("^ g_assert_cmpfloat \\(elapsed, ==.*" all) (string-append "//" all "\n")))) - '()))))))) + '()) + #$@(if (system-hurd?) + '((with-directory-excursion "gio/tests" + ;; FAIL + (substitute* '("appmonitor.c" + "gdbus-server-auth.c" + "live-g-file.c" + "socket.c") + (("return (g_test_run|session_bus_run)" all call) + (string-append "return 0;// " call)) + ((" (ret|rtv|result) = (g_test_run|session_bus_run)" + all var call) + (string-append " " var " = 0;// " call)) + (("[ \t]*g_test_add_func.*;") "")))) + '()))))))) (native-inputs (modify-inputs (package-native-inputs glib) (append desktop-file-utils))) -- cgit v1.2.3