From 9597fc9a202b8f268f50cdf155fb4dd00d8f64a1 Mon Sep 17 00:00:00 2001 From: wqh17101 <597935261@qq.com> Date: Mon, 12 Dec 2022 11:00:14 +0800 Subject: [PATCH] add test --- jieba.spec | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/jieba.spec b/jieba.spec index 2f90f08..30fdf56 100644 --- a/jieba.spec +++ b/jieba.spec @@ -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/