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.
This commit is contained in:
Janneke Nieuwenhuizen 2023-09-14 19:14:21 +02:00
parent b2cc649999
commit 1d5f1a5462
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -532,7 +532,21 @@ (define-public glib-next
(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)))