!22 continue build when test-case(features/output-sync) failed

From: @fly_fzc 
Reviewed-by: @overweight 
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2022-11-09 01:15:13 +00:00 committed by Gitee
commit 24988341ac
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
Name: make
Epoch: 1
Version: 4.3
Release: 3
Release: 4
Summary: A tool which controls the generation of executables and non-source files of a program
License: GPLv3+
URL: http://www.gnu.org/software/make/
@ -57,7 +57,13 @@ rm -f %{buildroot}/%{_infodir}/dir
if [ "%{_smp_mflags}" = "-j2" ]; then
echo "test will fail with make -j2 check"
else
/usr/bin/env LANG=C make check
/usr/bin/env LANG=C make check || {
for f in tests/work/*/*.diff; do
test -f "$f" || continue
printf "++++++++++++++ %s ++++++++++++++\n" "${f##*/}"
cat "$f"
done
}
fi
%post
@ -87,6 +93,9 @@ fi
%{_infodir}/*
%changelog
* Wed Nov 09 2022 fuanan <fuanan3@h-partners.com> - 1:4.3-4
- continue build when test-case(features/output-sync) failed
* Wed Oct 19 2022 fuanan <fuanan3@h-partners.com> - 1:4.3-3
- Fix spelling in spec