build-system/gnu: Set #:tests? to #f when cross-compiling.
* guix/build/gnu-build-system.scm (check): Add `target' formal parameter. Change `tests?' to default to (not target).
This commit is contained in:
parent
4ca968eb95
commit
2f41f51c40
|
@ -214,8 +214,8 @@ makefiles."
|
|||
'())
|
||||
,@make-flags))))
|
||||
|
||||
(define* (check #:key (make-flags '()) (tests? #t) (test-target "check")
|
||||
(parallel-tests? #t)
|
||||
(define* (check #:key target (make-flags '()) (tests? (not target))
|
||||
(test-target "check") (parallel-tests? #t)
|
||||
#:allow-other-keys)
|
||||
(if tests?
|
||||
(zero? (apply system* "make" test-target
|
||||
|
|
Loading…
Reference in New Issue