From 7b7bc91c3d7fba306884cd1681d12b51246c2aea Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 6 May 2021 09:39:42 +0300 Subject: gnu: dbus: Re-introduce extended test timeout. This reverses removing this phase in a24562af52d2f318c9e17be73393ddb4bd9e347c, which is still needed by some slower machines. * gnu/packages/glib.scm (glib)[arguments]: Add 'increase-test-timeout phase to ensure tests which don't hang also don't timeout. --- gnu/packages/glib.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index 7e49fca263..2649326e5b 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -204,6 +204,12 @@ shared NFS home directories.") #:configure-flags '("-Dman=true") #:phases (modify-phases %standard-phases + ;; Needed to pass the test phase on slower ARM and i686 machines. + (add-after 'unpack 'increase-test-timeout + (lambda _ + (substitute* "meson.build" + (("(test_timeout.*) = ([[:digit:]]+)" all first second) + (string-append first " = " second "0"))))) (add-after 'unpack 'disable-failing-tests (lambda _ (with-directory-excursion "glib/tests" -- cgit v1.2.3