From b314996c21fa5aaf534b39c116b6d63709cf4e8a Mon Sep 17 00:00:00 2001 From: fly_fzc <2385803914@qq.com> Date: Mon, 31 Oct 2022 15:32:11 +0800 Subject: [PATCH] continue build when test-case(features/output-sync) failed --- make.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/make.spec b/make.spec index 86a6a5b..a0cb058 100644 --- a/make.spec +++ b/make.spec @@ -1,7 +1,7 @@ Name: make Epoch: 1 Version: 4.3 -Release: 1 +Release: 2 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 +* Mon Oct 31 2022 fuanan - 1:4.3-2 +- continue build when test-case(features/output-sync) failed + * Tue Jul 28 2020 wangchen - 1:4.3-1 - Update to 4.3 -- Gitee