!2 在构建中增加开源测试用例

From: @wqh17101 
Reviewed-by: @zhunaipan 
Signed-off-by: @zhunaipan
This commit is contained in:
openeuler-ci-bot 2022-12-13 07:47:50 +00:00 committed by Gitee
commit a4fe3c1021
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -31,6 +31,23 @@ BuildRequires: python3-wheel
%install
%py3_install
%check
pushd test
%{__python3} demo.py
%{__python3} jieba_test.py
%{__python3} test.py
%{__python3} test_bug.py
%{__python3} test_change_dictpath.py
%{__python3} test_cut_for_search.py
%{__python3} test_cutall.py
%{__python3} test_no_hmm.py
%{__python3} test_multithread.py
%{__python3} test_pos.py
%{__python3} test_pos_no_hmm.py
%{__python3} test_tokenize.py
%{__python3} test_tokenize_no_hmm.py
%{__python3} test_userdict.py
popd
%files -n python3-jieba
%{python3_sitelib}/jieba/