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
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(invoke "python" "setup.py" "test"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(if tests?
|
||||
(invoke "python" "setup.py" "test")
|
||||
(format #t "test suite not run~%")))))))
|
||||
(native-inputs
|
||||
`(("python-persistent" ,python-persistent)
|
||||
("python-zope-configuration" ,python-zope-configuration-bootstrap)
|
||||
|
|
Reference in New Issue