[packages/python-cffi] update path in tests

atler atler at pld-linux.org
Tue Nov 21 19:33:02 CET 2023


commit 7a1baeeb4954291207574bb01c1acf623457752f
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Nov 21 19:10:20 2023 +0100

    update path in tests

 python-cffi.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-cffi.spec b/python-cffi.spec
index c2fda60..18d5194 100644
--- a/python-cffi.spec
+++ b/python-cffi.spec
@@ -105,7 +105,7 @@ Dokumentacja API modułu Pythona CFFI.
 %if %{with tests}
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(pwd):$(echo $(pwd)/build-2/lib.linux-*) \
-%{__python} -m pytest c testing
+%{__python} -m pytest src/c testing
 %endif
 %endif
 
@@ -115,7 +115,7 @@ PYTHONPATH=$(pwd):$(echo $(pwd)/build-2/lib.linux-*) \
 %if %{with tests}
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=$(pwd):$(echo $(pwd)/build-3/lib.linux-*) \
-%{__python3} -m pytest c testing
+%{__python3} -m pytest src/c testing
 %endif
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-cffi.git/commitdiff/7a1baeeb4954291207574bb01c1acf623457752f



More information about the pld-cvs-commit mailing list