mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: flatpak: Honor the #:tests? flag.
* gnu/packages/package-management.scm (flatpak)[arguments]: Adjust custom 'check phase to honor the #:tests? flag.
This commit is contained in:
parent
a08d3cba83
commit
66b2fd0d04
1 changed files with 6 additions and 4 deletions
|
@ -1959,10 +1959,12 @@ (define-public flatpak
|
|||
;; Many tests fail for unknown reasons, so we just run a few basic
|
||||
;; tests.
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(setenv "HOME" "/tmp")
|
||||
(invoke "make" "check"
|
||||
"TESTS=tests/test-basic.sh tests/test-config.sh testcommon"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(setenv "HOME" "/tmp")
|
||||
(invoke "make" "check"
|
||||
"TESTS=tests/test-basic.sh tests/test-config.sh
|
||||
testcommon")))))))
|
||||
(native-inputs
|
||||
(list bison
|
||||
dbus ; for dbus-daemon
|
||||
|
|
Loading…
Reference in a new issue