me
/
guix
Archived
1
0
Fork 0

gnu: gdk-pixbuf: Respect #:tests?.

* gnu/packages/gtk.scm (gdk-pixbuf)[arguments]<#:phases>{check}: Don't
  run the tests if the value for #:tests? is false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
master
Maxime Devos 2021-10-01 16:21:21 +02:00 committed by Mathieu Othacehe
parent cf7c7e2596
commit 1f7cf5834c
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 3 additions and 2 deletions

View File

@ -646,8 +646,9 @@ highlighting and other features typical of a source code editor.")
,@(if (any (cute string=? <> (%current-system))
'("armhf-linux" "aarch64-linux"))
'((replace 'check
(lambda _
(invoke "meson" "test" "--timeout-multiplier" "5"))))
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "meson" "test" "--timeout-multiplier" "5")))))
'()))))
(propagated-inputs
`( ;; Required by gdk-pixbuf-2.0.pc