3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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

* gnu/packages/python-web.scm (python-zope-exceptions)[arguments]: Honor
TESTS? argument in check phase.
This commit is contained in:
Marius Bakke 2021-10-12 23:51:33 +02:00
parent b4b314cc53
commit 6c1724f6cd
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -1920,8 +1920,10 @@ conforming to a given API or contract.")
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "zope-testrunner" "--test-path=src"))))))
(lambda* (#:key tests? #:allow-other-keys)
(if tests?
(invoke "zope-testrunner" "--test-path=src")
(format #t "test suite not run~%")))))))
(native-inputs
`(("python-zope-testrunner" ,python-zope-testrunner-bootstrap)))
(propagated-inputs