Switch to %pytest to simplify the spec file
This commit is contained in:
parent
49b0dc3344
commit
1513feb994
@ -152,8 +152,7 @@ install -p dist/%{python_wheelname} -t %{buildroot}%{python_wheeldir}
|
|||||||
# Upstream tests
|
# Upstream tests
|
||||||
# --ignore=pavement.py:
|
# --ignore=pavement.py:
|
||||||
# pavement.py is only used by upstream to do releases and vendoring, we don't ship it
|
# pavement.py is only used by upstream to do releases and vendoring, we don't ship it
|
||||||
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=$(pwd) pytest-%{python3_version} \
|
PYTHONPATH=$(pwd) %pytest --ignore=pavement.py
|
||||||
--ignore=pavement.py
|
|
||||||
%endif # with tests
|
%endif # with tests
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user