diff options
author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2023-09-14 19:14:21 +0200 |
---|---|---|
committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2023-09-14 23:52:37 +0200 |
commit | 1d5f1a5462491bf877999525466fb83c55e7e66d (patch) | |
tree | 06fed15216fac181c0997e26328ed2a922f872e6 /gnu/packages | |
parent | b2cc649999ed97b62517dcfb7cf21ee731c97487 (diff) | |
download | guix-1d5f1a5462491bf877999525466fb83c55e7e66d.tar.gz guix-1d5f1a5462491bf877999525466fb83c55e7e66d.zip |
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/glib.scm | 16 |
1 files changed, 15 insertions, 1 deletions
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))) |