!4 【轻量级 PR】:Disable test temporary

From: @huangtianhua
Reviewed-by: @xiyuanwang
Signed-off-by: @xiyuanwang
This commit is contained in:
openeuler-ci-bot 2021-11-27 01:45:43 +00:00 committed by Gitee
commit 79f33121f7

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-xattr Name: python-xattr
Version: 0.9.7 Version: 0.9.7
Release: 2 Release: 3
Summary: Python wrapper for extended filesystem attributes Summary: Python wrapper for extended filesystem attributes
License: MIT License: MIT
URL: http://github.com/xattr/xattr URL: http://github.com/xattr/xattr
@ -17,7 +17,7 @@ Provides: python-xattr
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-cffi BuildRequires: python3-cffi
BuildRequires: python3-pytest #BuildRequires: python3-pytest
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gdb BuildRequires: gdb
# General requires # General requires
@ -71,8 +71,8 @@ mv %{buildroot}/doclist.lst .
%check %check
#%{__python3} setup.py test #%{__python3} setup.py test
export PYTHONPATH=%{buildroot}%{python3_sitearch}:$PYTHONPATH #export PYTHONPATH=%{buildroot}%{python3_sitearch}:$PYTHONPATH
pytest-3 #pytest-3
%files -n python3-xattr -f filelist.lst %files -n python3-xattr -f filelist.lst
%dir %{python3_sitearch}/* %dir %{python3_sitearch}/*
@ -81,6 +81,9 @@ pytest-3
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Sat Nov 27 2021 huangtianhua <huangtianhua@huawei.com> - 0.9.7-3
- Disable test temporary
* Wed Nov 24 2021 huangtianhua <huangtianhua@huawei.com> - 0.9.7-2 * Wed Nov 24 2021 huangtianhua <huangtianhua@huawei.com> - 0.9.7-2
- Use pytest-3 to run tests - Use pytest-3 to run tests