mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-11 06:20:18 +01:00
gnu: python-zope-component: Respect '--without-tests'.
* gnu/packages/python-web.scm (python-zope-component)[arguments]: Honor TESTS? in the check phase.
This commit is contained in:
parent
6c1724f6cd
commit
115352b545
1 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue