disable tests
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
6532d0e4a9
commit
01c16e6323
@ -1,3 +1,5 @@
|
|||||||
|
%bcond_with check
|
||||||
|
|
||||||
%global modname pexpect
|
%global modname pexpect
|
||||||
|
|
||||||
Name: python-%{modname}
|
Name: python-%{modname}
|
||||||
@ -111,6 +113,7 @@ pushd python3
|
|||||||
rm -rf %{buildroot}%{python3_sitelib}/pexpect/tests
|
rm -rf %{buildroot}%{python3_sitelib}/pexpect/tests
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
export PYTHONIOENCODING=UTF-8
|
export PYTHONIOENCODING=UTF-8
|
||||||
export LC_ALL="en_US.UTF-8"
|
export LC_ALL="en_US.UTF-8"
|
||||||
@ -128,6 +131,7 @@ pushd python3
|
|||||||
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} ./tools/display-maxcanon.py
|
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} ./tools/display-maxcanon.py
|
||||||
py.test-3 --verbose
|
py.test-3 --verbose
|
||||||
popd
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n python2-%{modname}
|
%files -n python2-%{modname}
|
||||||
%license python2/LICENSE
|
%license python2/LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user