diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-06-22 16:15:23 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-06-22 16:15:23 +0200 |
commit | 2f41f51c401cc45842218a801891a71a64416ef0 (patch) | |
tree | d3c8d2baf305924a9ab5b9861fa16da5ef0955ec | |
parent | 4ca968eb954c0a8c166c8cd390024cdafdb9e416 (diff) | |
download | gnu-guix-2f41f51c401cc45842218a801891a71a64416ef0.tar gnu-guix-2f41f51c401cc45842218a801891a71a64416ef0.tar.gz |
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).
-rw-r--r-- | guix/build/gnu-build-system.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm index 8ccf27a1b1..bed498dfef 100644 --- a/guix/build/gnu-build-system.scm +++ b/guix/build/gnu-build-system.scm @@ -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 |