gnu: python-zope-component: Respect '--without-tests'.
* gnu/packages/python-web.scm (python-zope-component)[arguments]: Honor TESTS? in the check phase.master
parent
6c1724f6cd
commit
115352b545
|
@ -2293,9 +2293,10 @@ security policies on Python objects.")
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(add-installed-pythonpath inputs outputs)
|
(if tests?
|
||||||
(invoke "python" "setup.py" "test"))))))
|
(invoke "python" "setup.py" "test")
|
||||||
|
(format #t "test suite not run~%")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-persistent" ,python-persistent)
|
`(("python-persistent" ,python-persistent)
|
||||||
("python-zope-configuration" ,python-zope-configuration-bootstrap)
|
("python-zope-configuration" ,python-zope-configuration-bootstrap)
|
||||||
|
|
Reference in New Issue