gnu: proot: Don't ask to run tests when cross-compiling.

* gnu/packages/linux.scm
(proot)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Maxime Devos 2022-08-28 16:47:39 +02:00 committed by Mathieu Othacehe
parent 5192bead32
commit 0168c65de4
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -7687,9 +7687,9 @@ (define-public proot
;; Disable the test suite on armhf-linux, as there are too many
;; failures to keep track of (see for example:
;; https://github.com/proot-me/proot/issues/286).
`(#:tests? ,(not (string-prefix? "armhf"
(or (%current-target-system)
(%current-system))))
`(#:tests? ,(not (or (%current-target-system)
(string-prefix? "armhf"
(or (%current-system)))))
#:make-flags '("-C" "src")
#:phases (modify-phases %standard-phases
(add-after 'unpack 'patch-sources