me
/
guix
Archived
1
0
Fork 0

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.
master
Efraim Flashner 2021-05-06 09:39:42 +03:00
parent 0e2251fcf8
commit 7b7bc91c3d
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 6 additions and 0 deletions

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"