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 @@ (define* (build #:key (make-flags '()) (parallel-build? #t) '()) ,@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