gnu: python-h2: Respect "--without-tests".
* gnu/packages/python-web.scm (python-h2)[arguments]<#:phases>{check}: Respect #:tests?. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>master
parent
c46c8531dd
commit
f78975c8e0
|
@ -937,9 +937,10 @@ and that could be anything you want.")
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
||||||
(add-installed-pythonpath inputs outputs)
|
(when tests?
|
||||||
(invoke "pytest" "-vv" "test"))))))
|
(add-installed-pythonpath inputs outputs)
|
||||||
|
(invoke "pytest" "-vv" "test")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-pytest" ,python-pytest)))
|
`(("python-pytest" ,python-pytest)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Reference in New Issue