gnu: python-zope-exceptions: Respect '--without-tests'.
* gnu/packages/python-web.scm (python-zope-exceptions)[arguments]: Honor TESTS? argument in check phase.master
parent
b4b314cc53
commit
6c1724f6cd
|
@ -1920,8 +1920,10 @@ conforming to a given API or contract.")
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(invoke "zope-testrunner" "--test-path=src"))))))
|
(if tests?
|
||||||
|
(invoke "zope-testrunner" "--test-path=src")
|
||||||
|
(format #t "test suite not run~%")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-zope-testrunner" ,python-zope-testrunner-bootstrap)))
|
`(("python-zope-testrunner" ,python-zope-testrunner-bootstrap)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Reference in New Issue