!37 check使能

From: @tong_1001 
Reviewed-by: @ziyangc 
Signed-off-by: @ziyangc
This commit is contained in:
openeuler-ci-bot 2023-02-20 02:06:15 +00:00 committed by Gitee
commit 3c7adb9947
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: libreport
Version: 2.15.2
Release: 5
Release: 6
License: GPLv2+
Summary: Generic library for reporting various problems
URL: https://abrt.readthedocs.org/
@ -141,12 +141,12 @@ mkdir -p %{buildroot}/%{_datadir}/%{name}/workflows/
rm -f %{buildroot}/%{_infodir}/dir
%check
#make check|| {
make check|| {
# find and print the logs of failed test
# do not cat tests/testsuite.log because it contains a lot of bloat
# find tests/testsuite.dir -name "testsuite.log" -print -exec cat '{}' \;
# exit 1
# }
find tests/testsuite.dir -name "testsuite.log" -print -exec cat '{}' \;
exit 1
}
%post
/sbin/ldconfig
@ -316,6 +316,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_mandir}/man5/bugzilla_format_kernel.conf.5.*
%changelog
* Thu Feb 16 2023 shixuantong <shixuantong1@huawei.com> - 2.15.2-6
- enable check
* Thu Dec 29 2022 guojin17 <guoj17@chinatelecom.cn> - 2.15.2-5
- Avoid direct use of libproxy