mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-03 07:45:55 +02: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user