From 6c1724f6cd5636605e0aa1acbf6aadde41bd5004 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 12 Oct 2021 23:51:33 +0200 Subject: gnu: python-zope-exceptions: Respect '--without-tests'. * gnu/packages/python-web.scm (python-zope-exceptions)[arguments]: Honor TESTS? argument in check phase. --- gnu/packages/python-web.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 5335aa004c..e058b4ca50 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -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 -- cgit v1.2.3