gnu: flatpak: Honor the #:tests? flag.
* gnu/packages/package-management.scm (flatpak)[arguments]: Adjust custom 'check phase to honor the #:tests? flag.master
parent
a08d3cba83
commit
66b2fd0d04
|
@ -1959,10 +1959,12 @@ cp -r /tmp/locale/*/en_US.*")))
|
||||||
;; Many tests fail for unknown reasons, so we just run a few basic
|
;; Many tests fail for unknown reasons, so we just run a few basic
|
||||||
;; tests.
|
;; tests.
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(setenv "HOME" "/tmp")
|
(when tests?
|
||||||
(invoke "make" "check"
|
(setenv "HOME" "/tmp")
|
||||||
"TESTS=tests/test-basic.sh tests/test-config.sh testcommon"))))))
|
(invoke "make" "check"
|
||||||
|
"TESTS=tests/test-basic.sh tests/test-config.sh
|
||||||
|
testcommon")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list bison
|
(list bison
|
||||||
dbus ; for dbus-daemon
|
dbus ; for dbus-daemon
|
||||||
|
|
Reference in New Issue