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
1 changed files with 6 additions and 8 deletions

View File

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