aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-11-20 19:03:26 +0100
committerLudovic Courtès <ludo@gnu.org>2013-11-20 19:03:26 +0100
commit5dfd5b82c251918d593d57349d7bb4eb866de532 (patch)
treed6bf285f1ed7c63ac53134f8d203ddf265dfb7bf
parent8bf8d7c78f4bf57c3c0932e658125c865a05d1d2 (diff)
downloadgnu-guix-5dfd5b82c251918d593d57349d7bb4eb866de532.tar
gnu-guix-5dfd5b82c251918d593d57349d7bb4eb866de532.tar.gz
build-system/python: Add #:test-target parameter.
* guix/build-system/python.scm (python-build): Add #:test-target parameter. Reported by Eric Bavier <ericbavier@gmail.com>.
-rw-r--r--guix/build-system/python.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/build-system/python.scm b/guix/build-system/python.scm
index cf7ca7d3e1..c5a2e86316 100644
--- a/guix/build-system/python.scm
+++ b/guix/build-system/python.scm
@@ -97,6 +97,7 @@ prepended to the name."
#:key
(python (default-python))
(tests? #t)
+ (test-target "test")
(configure-flags ''())
(phases '(@ (guix build python-build-system)
%standard-phases))
@@ -125,7 +126,7 @@ provides a 'setup.py' file as its build system."
source)
#:configure-flags ,configure-flags
#:system ,system
- #:test-target "test"
+ #:test-target ,test-target
#:tests? ,tests?
#:phases ,phases
#:outputs %outputs