Skip to content
Snippets Groups Projects
Commit c3c7eb41 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

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

* guix/build-system/gnu.scm (gnu-build): Add `tests?' parameter.
  [builder]: Inherit it.
parent d9dbab18
No related branches found
No related tags found
No related merge requests found
...@@ -45,6 +45,7 @@ (define* (gnu-build store name source inputs ...@@ -45,6 +45,7 @@ (define* (gnu-build store name source inputs
#:key (outputs '("out")) (configure-flags ''()) #:key (outputs '("out")) (configure-flags ''())
(make-flags ''()) (make-flags ''())
(patches ''()) (patch-flags ''("--batch" "-p1")) (patches ''()) (patch-flags ''("--batch" "-p1"))
(tests? #t)
(parallel-build? #t) (parallel-tests? #t) (parallel-build? #t) (parallel-tests? #t)
(phases '%standard-phases) (phases '%standard-phases)
(system (%current-system)) (system (%current-system))
...@@ -65,6 +66,7 @@ (define builder ...@@ -65,6 +66,7 @@ (define builder
#:phases ,phases #:phases ,phases
#:configure-flags ,configure-flags #:configure-flags ,configure-flags
#:make-flags ,make-flags #:make-flags ,make-flags
#:tests? ,tests?
#:parallel-build? ,parallel-build? #:parallel-build? ,parallel-build?
#:parallel-tests? ,parallel-tests?))) #:parallel-tests? ,parallel-tests?)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment