[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/38: gnu: at-spi2-core: Respect #:tests?.
From: |
guix-commits |
Subject: |
24/38: gnu: at-spi2-core: Respect #:tests?. |
Date: |
Sat, 2 Oct 2021 12:52:43 -0400 (EDT) |
mothacehe pushed a commit to branch core-updates
in repository guix.
commit 2d9c06c61dd8adaabeddd15b0f3649f832a10178
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Fri Oct 1 16:21:26 2021 +0200
gnu: at-spi2-core: Respect #:tests?.
* gnu/packages/gtk.scm (at-spi2-core)[arguments]<#:phases>{check}:
Don't run tests if the value of #:tests? if false.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
gnu/packages/gtk.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index adb4d84..d829218 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -768,14 +768,15 @@ scaled, composited, modified, saved, or rendered.")
(string-append out "/share/gtk-doc")))
#t))))
(add-after 'install 'check
- (lambda _
+ (lambda* (#:key tests? #:allow-other-keys)
(setenv "HOME" (getenv "TMPDIR")) ; xfconfd requires a writable
HOME
;; Run test-suite under a dbus session.
(setenv "XDG_DATA_DIRS" ; for finding org.xfce.Xfconf.service
(string-append %output "/share"))
;; Don't fail on missing '/etc/machine-id'.
(setenv "DBUS_FATAL_WARNINGS" "0") ;
- (invoke "dbus-launch" "ninja" "test")))
+ (when tests?
+ (invoke "dbus-launch" "ninja" "test"))))
(delete 'check))))
(inputs
`(("bash-minimal" ,bash-minimal)))
- 26/38: gnu: at-spi2-core: Remove trailing #t., (continued)
- 26/38: gnu: at-spi2-core: Remove trailing #t., guix-commits, 2021/10/02
- 27/38: gnu: avahi: Make 'bash-minimal' input unconditional., guix-commits, 2021/10/02
- 28/38: gnu: avahi: Make the 'patch-more-shebangs' phase unconditional., guix-commits, 2021/10/02
- 29/38: gnu: freedesktop: Unconditionally use alternatives to % variables., guix-commits, 2021/10/02
- 30/38: gnu: wayland: Unconditionally lookup docbook in native-inputs., guix-commits, 2021/10/02
- 18/38: gnu: gdk-pixbuf: Unconditionally lookup docbook in native-inputs., guix-commits, 2021/10/02
- 22/38: gnu: gdk-pixbuf: Remove trailing #t., guix-commits, 2021/10/02
- 25/38: gnu: at-spi2-core: Unconditionally lookup docbook in native-inputs., guix-commits, 2021/10/02
- 12/38: gnu: gobject-introspection: Move things to native-inputs., guix-commits, 2021/10/02
- 19/38: gnu: gdk-pixbuf: Respect #:tests?., guix-commits, 2021/10/02
- 24/38: gnu: at-spi2-core: Respect #:tests?.,
guix-commits <=
- 32/38: gnu: json-glib: Make 'bash-minimal' input unconditional., guix-commits, 2021/10/02
- 34/38: gnu: heimdal: Make 'bash-minimal' input unconditional., guix-commits, 2021/10/02
- 38/38: lint: check-wrapper-inputs: Remove mentions of core-updates., guix-commits, 2021/10/02
- 37/38: build/qt-utils: Allow overriding the shell interpreter used., guix-commits, 2021/10/02
- 31/38: gnu: json-glib: Unconditionally lookup docbook in native-inputs., guix-commits, 2021/10/02
- 33/38: gnu: heimdal: Make some parts of phases unconditional., guix-commits, 2021/10/02
- 35/38: gnu: libcap: Unconditionally use #$output., guix-commits, 2021/10/02
- 36/38: gnu: libproxy: Respect #:tests?., guix-commits, 2021/10/02