enable check

(cherry picked from commit 829f78d964a284d858caa37f589ac2dfc7be7836)
This commit is contained in:
shixuantong 2023-02-16 10:21:53 +08:00 committed by openeuler-sync-bot
parent 4669280417
commit 59b4ae7575

View File

@ -2,7 +2,7 @@
Name: libreport
Version: 2.15.2
Release: 2
Release: 3
License: GPLv2+
Summary: Generic library for reporting various problems
URL: https://abrt.readthedocs.org/
@ -138,12 +138,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
@ -313,6 +313,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-3
- enable check
* Thu Oct 27 2022 dongyuzhen <dongyuzhen@h-partners.com> - 2.15.2-2
- Rebuild for next release