mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-10 05:09:33 -05: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:
parent
b4b314cc53
commit
6c1724f6cd
1 changed files with 4 additions and 2 deletions
|
@ -1920,8 +1920,10 @@ (define-public python-zope-exceptions
|
|||
'(#: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
|
||||
|
|
Loading…
Reference in a new issue