gnu: libdrm: Avoid timeout while running tests.

Suggested by Efraim Flashner at
<https://lists.gnu.org/archive/html/guix-devel/2019-04/msg00008.html>.

* gnu/packages/xdisorg.scm (libdrm)[arguments]: Make 'check phase
unconditional.
This commit is contained in:
Ludovic Courtès 2019-04-08 23:03:39 +02:00
parent db7441e470
commit 7dc96170a3
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -3,7 +3,7 @@
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
;;; Copyright © 2013, 2015, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2015, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright © 2015 Alexander I.Grafov <grafov@gmail.com>
;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
@ -402,13 +402,11 @@ (define-public libdrm
"-Dtegra=true"
"-Dfreedreno-kgsl=true"))
(_ '())))
,@(if (string=? (%current-system) "armhf-linux")
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "meson" "test" "--timeout-multiplier" "5")))))
'())))
#:phases (modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "meson" "test" "--timeout-multiplier" "5"))))))
(inputs
`(("libpciaccess" ,libpciaccess)))
(native-inputs