[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50905] [PATCH core-updates v2 24/38] gnu: at-spi2-core: Respect #:t
From: |
Maxime Devos |
Subject: |
[bug#50905] [PATCH core-updates v2 24/38] gnu: at-spi2-core: Respect #:tests?. |
Date: |
Fri, 1 Oct 2021 16:21:26 +0200 |
* gnu/packages/gtk.scm (at-spi2-core)[arguments]<#:phases>{check}:
Don't run tests if the value of #:tests? if false.
---
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 adb4d847a4..d829218305 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)))
--
2.33.0
- [bug#50905] [PATCH core-updates v2 05/38] build/minetest-build-system: Move png-file? to (guix build utils)., (continued)
- [bug#50905] [PATCH core-updates v2 05/38] build/minetest-build-system: Move png-file? to (guix build utils)., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 14/38] gnu: cairo: Make 'bash-minimal' input unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 28/38] gnu: avahi: Make the 'patch-more-shebangs' phase unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 15/38] gnu: libthai: Make 'datrie' input unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 20/38] gnu: gdk-pixbuf: Use target predicates., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 18/38] gnu: gdk-pixbuf: Unconditionally lookup docbook in native-inputs., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 23/38] gnu: at-spi2-core: Make 'bash-minimal' input unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 27/38] gnu: avahi: Make 'bash-minimal' input unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 21/38] gnu: gdk-pixbuf: Make 'bash-minimal' input unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 22/38] gnu: gdk-pixbuf: Remove trailing #t., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 24/38] gnu: at-spi2-core: Respect #:tests?.,
Maxime Devos <=
- [bug#50905] [PATCH core-updates v2 29/38] gnu: freedesktop: Unconditionally use alternatives to % variables., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 26/38] gnu: at-spi2-core: Remove trailing #t., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 30/38] gnu: wayland: Unconditionally lookup docbook in native-inputs., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 32/38] gnu: json-glib: Make 'bash-minimal' input unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 37/38] build/qt-utils: Allow overriding the shell interpreter used., Maxime Devos, 2021/10/01
- bug#50905: [PATCH core-updates 00/38] Clean up TODO(core-updates), Mathieu Othacehe, 2021/10/02