build-system/gnu: Add `tests?' parameter.

* guix/build-system/gnu.scm (gnu-build): Add `tests?' parameter.
  [builder]: Inherit it.
This commit is contained in:
Ludovic Courtès 2012-07-07 18:12:20 +02:00
parent d9dbab18e2
commit c3c7eb4194

View file

@ -45,6 +45,7 @@ (define* (gnu-build store name source inputs
#:key (outputs '("out")) (configure-flags ''())
(make-flags ''())
(patches ''()) (patch-flags ''("--batch" "-p1"))
(tests? #t)
(parallel-build? #t) (parallel-tests? #t)
(phases '%standard-phases)
(system (%current-system))
@ -65,6 +66,7 @@ (define builder
#:phases ,phases
#:configure-flags ,configure-flags
#:make-flags ,make-flags
#:tests? ,tests?
#:parallel-build? ,parallel-build?
#:parallel-tests? ,parallel-tests?)))