mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-03 08:36:32 +01: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:
parent
0e2251fcf8
commit
7b7bc91c3d
1 changed files with 6 additions and 0 deletions
|
@ -204,6 +204,12 @@ (define glib
|
||||||
#:configure-flags '("-Dman=true")
|
#:configure-flags '("-Dman=true")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(add-after 'unpack 'disable-failing-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
(with-directory-excursion "glib/tests"
|
(with-directory-excursion "glib/tests"
|
||||||
|
|
Loading…
Reference in a new issue