[packages/python3-BTrees] - updated tests running

qboosh qboosh at pld-linux.org
Tue May 6 21:50:21 CEST 2025


commit fa8554e8d573640da69edf941c37a38e1c49374f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue May 6 21:45:01 2025 +0200

    - updated tests running

 python3-BTrees.spec | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/python3-BTrees.spec b/python3-BTrees.spec
index 1869f77..2351c67 100644
--- a/python3-BTrees.spec
+++ b/python3-BTrees.spec
@@ -68,10 +68,15 @@ Dokumentacja API modułu Pythona BTrees.
 %setup -q -n btrees-%{version}
 
 %build
-%py3_build %{?with_tests:test}
+%py3_build
+
+%if %{with tests}
+PYTHONPATH=$(echo $(pwd)/build-3/lib.*) \
+zope-testrunner-3 --test-path=src -v
+%endif
 
 %if %{with doc}
-PYTHONPATH=$(pwd):$(echo $(pwd)/build-3/lib.*) \
+PYTHONPATH=$(pwd)/src:$(echo $(pwd)/build-3/lib.*) \
 %{__make} -C docs html \
 	SPHINXBUILD=sphinx-build-3
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-BTrees.git/commitdiff/fa8554e8d573640da69edf941c37a38e1c49374f



More information about the pld-cvs-commit mailing list