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).
1 files changed, 2 insertions(+), 2 deletions(-) M guix/build/gnu-build-system.scm
M guix/build/gnu-build-system.scm => guix/build/gnu-build-system.scm +2 -2
@@ 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