build-system/gnu: enable test-target during the check phase

* guix/build-system/gnu.scm: add variable test-target
This commit is contained in:
Andreas Enge 2012-12-29 21:03:23 +01:00 committed by Ludovic Courtès
parent 380d5decfc
commit 6253961de2

View file

@ -152,6 +152,7 @@ (define* (gnu-build store name source inputs
(out-of-source? #f)
(path-exclusions ''())
(tests? #t)
(test-target "check")
(parallel-build? #t) (parallel-tests? #t)
(patch-shebangs? #t)
(strip-binaries? #t)
@ -193,6 +194,7 @@ (define builder
#:out-of-source? ,out-of-source?
#:path-exclusions ,path-exclusions
#:tests? ,tests?
#:test-target ,test-target
#:parallel-build? ,parallel-build?
#:parallel-tests? ,parallel-tests?
#:patch-shebangs? ,patch-shebangs?