gnu: glib: Increase test timeout on armhf-linux.
* gnu/packages/glib.scm (glib)[arguments]: Add phase to adjust test timeouts to account for slower systems.
This commit is contained in:
parent
a210c0d137
commit
034cfbd244
1 changed files with 11 additions and 0 deletions
|
@ -227,6 +227,17 @@ shared NFS home directories.")
|
||||||
(("gio-launch-desktop")
|
(("gio-launch-desktop")
|
||||||
(string-append out "/libexec/gio-launch-desktop")))
|
(string-append out "/libexec/gio-launch-desktop")))
|
||||||
#t)))
|
#t)))
|
||||||
|
;; TODO: Remove the conditional in the next core-updates cycle.
|
||||||
|
;; Needed to build glib on slower ARM nodes.
|
||||||
|
,@(if (string-prefix? "arm" (%current-system))
|
||||||
|
`((add-after 'unpack 'increase-test-timeout
|
||||||
|
(lambda _
|
||||||
|
(substitute* "meson.build"
|
||||||
|
(("test_timeout = 60")
|
||||||
|
"test_timeout = 90")
|
||||||
|
(("test_timeout_slow = 120")
|
||||||
|
"test_timeout_slow = 180")))))
|
||||||
|
'())
|
||||||
(add-before 'build 'pre-build
|
(add-before 'build 'pre-build
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
;; For tests/gdatetime.c.
|
;; For tests/gdatetime.c.
|
||||||
|
|
Reference in a new issue