!4 dim_tools:打开测试用例
From: @jinlun123123 Reviewed-by: @HuaxinLuGitee Signed-off-by: @HuaxinLuGitee
This commit is contained in:
commit
d8ab4c131a
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: dim_tools
|
Name: dim_tools
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: DIM userspace tools
|
Summary: DIM userspace tools
|
||||||
License: MulanPSL-2.0
|
License: MulanPSL-2.0
|
||||||
URL: dim_tools
|
URL: dim_tools
|
||||||
@ -24,11 +24,16 @@ cd ./src && make
|
|||||||
cd ./src && make install DESTDIR=$RPM_BUILD_ROOT
|
cd ./src && make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
%check
|
%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
|
%files
|
||||||
%attr(555,root,root) %{_bindir}/dim_gen_baseline
|
%attr(555,root,root) %{_bindir}/dim_gen_baseline
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Sep 4 2023 jinlun <jinlun@huawei.com> 1.0.1-1
|
||||||
- Init package
|
- Init package
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user