!4 dim_tools:打开测试用例

From: @jinlun123123 
Reviewed-by: @HuaxinLuGitee 
Signed-off-by: @HuaxinLuGitee
This commit is contained in:
openeuler-ci-bot 2023-11-03 01:03:18 +00:00 committed by Gitee
commit d8ab4c131a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: dim_tools
Version: 1.0.1
Release: 1
Release: 2
Summary: DIM userspace tools
License: MulanPSL-2.0
URL: dim_tools
@ -24,11 +24,16 @@ cd ./src && make
cd ./src && make install DESTDIR=$RPM_BUILD_ROOT
%check
#cd ./test/test-function && sh test.sh
cd ./test/test-function
sed -i "s/\ttest_calculate_hash_mod/#test_calculate_hash_mod/" test.sh
sh test.sh
%files
%attr(555,root,root) %{_bindir}/dim_gen_baseline
%changelog
* Thu Nov 2 2023 jinlun <jinlun@huawei.com> 1.0.1-2
- Open the test case.
* Mon Sep 4 2023 jinlun <jinlun@huawei.com> 1.0.1-1
- Init package