From 65e71e7574bd03d1e1c50b7e81ca89ecab1df8fb Mon Sep 17 00:00:00 2001 From: fly_fzc <2385803914@qq.com> Date: Wed, 9 Nov 2022 08:41:44 +0800 Subject: [PATCH] continue build when test-case(features/output-sync) failed (cherry picked from commit fea4588be2ede21af45e4205a16c5430434225b4) --- make.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/make.spec b/make.spec index ff14d48..0a9929d 100644 --- a/make.spec +++ b/make.spec @@ -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 - 1:4.3-4 +- continue build when test-case(features/output-sync) failed + * Wed Oct 19 2022 fuanan - 1:4.3-3 - Fix spelling in spec -- Gitee