me
/
guix
Archived
1
0
Fork 0

gnu: python-zope-component: Respect '--without-tests'.

* gnu/packages/python-web.scm (python-zope-component)[arguments]: Honor TESTS?
in the check phase.
master
Marius Bakke 2021-10-13 00:06:00 +02:00
parent 6c1724f6cd
commit 115352b545
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 4 additions and 3 deletions

View File

@ -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)