1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-27 03:21:49 +02:00

gnu: dbus: Re-introduce extended test timeout.

This reverses removing this phase in
a24562af52, 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.
This commit is contained in:
Efraim Flashner
2021-05-06 09:39:42 +03:00
parent 0e2251fcf8
commit 7b7bc91c3d
+6
View File
@@ -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"