From 115352b5454d23663e2d1a1815bdd28513fb3dbf Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 13 Oct 2021 00:06:00 +0200 Subject: gnu: python-zope-component: Respect '--without-tests'. * gnu/packages/python-web.scm (python-zope-component)[arguments]: Honor TESTS? in the check phase. --- gnu/packages/python-web.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index e058b4ca508..27133e46055 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2293,9 +2293,10 @@ security policies on Python objects.") '(#:phases (modify-phases %standard-phases (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (invoke "python" "setup.py" "test")))))) + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (invoke "python" "setup.py" "test") + (format #t "test suite not run~%"))))))) (native-inputs `(("python-persistent" ,python-persistent) ("python-zope-configuration" ,python-zope-configuration-bootstrap) -- cgit v1.3