mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: at-spi2-core: Honor the #:tests? flag.
* gnu/packages/gtk.scm (at-spi2-core)[arguments]: Adjust the 'check phase to honor the #:tests? flag. Skip the tests when building for powerpc-linux. Change-Id: Ia1fc275ebca5d69b851b566ae7afb47fdad8f066
This commit is contained in:
parent
3d4efef46d
commit
0bae9e17c6
1 changed files with 26 additions and 29 deletions
|
@ -831,16 +831,14 @@ ever use this library.")
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:glib-or-gtk? #t ;to wrap binaries and/or compile schemas
|
#:glib-or-gtk? #t ;to wrap binaries and/or compile schemas
|
||||||
|
#:tests? (not (or (target-ppc32?)
|
||||||
|
(%current-target-system)))
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(delete 'check)
|
(delete 'check)
|
||||||
;; The CI test suite fails completely on powerpc-linux.
|
(add-after 'install 'check
|
||||||
;; The name org.gnome.SessionManager was not provided by any .service
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
;; TODO: Wrap 'check phase with 'tests?'.
|
(when tests?
|
||||||
#$@(if (not (or (target-ppc32?)
|
|
||||||
(%current-target-system)))
|
|
||||||
#~((add-after 'install 'check
|
|
||||||
(lambda _
|
|
||||||
;; xfconfd requires a writable HOME
|
;; xfconfd requires a writable HOME
|
||||||
(setenv "HOME" (getenv "TMPDIR"))
|
(setenv "HOME" (getenv "TMPDIR"))
|
||||||
;; dbus-run-session may crash if XDG_DATA_DIRS has too
|
;; dbus-run-session may crash if XDG_DATA_DIRS has too
|
||||||
|
@ -861,8 +859,7 @@ ever use this library.")
|
||||||
(("ps auxwww") "") ;avoid a dependency on procps
|
(("ps auxwww") "") ;avoid a dependency on procps
|
||||||
(("meson test -C _build")
|
(("meson test -C _build")
|
||||||
"meson test -C ../build")) ;adjust build directory
|
"meson test -C ../build")) ;adjust build directory
|
||||||
(invoke "dbus-run-session" "--" "ci/run-tests.sh")))))
|
(invoke "dbus-run-session" "--" "ci/run-tests.sh"))))))))
|
||||||
#~()))))
|
|
||||||
(inputs
|
(inputs
|
||||||
(list bash-minimal libxml2))
|
(list bash-minimal libxml2))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue