continue build when test-case(features/output-sync) failed
(cherry picked from commit b314996c21fa5aaf534b39c116b6d63709cf4e8a)
This commit is contained in:
parent
69c69fdd3b
commit
bb27b816a2
13
make.spec
13
make.spec
@ -1,7 +1,7 @@
|
|||||||
Name: make
|
Name: make
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 4.3
|
Version: 4.3
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A tool which controls the generation of executables and non-source files of a program
|
Summary: A tool which controls the generation of executables and non-source files of a program
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://www.gnu.org/software/make/
|
URL: http://www.gnu.org/software/make/
|
||||||
@ -57,7 +57,13 @@ rm -f %{buildroot}/%{_infodir}/dir
|
|||||||
if [ "%{_smp_mflags}" = "-j2" ]; then
|
if [ "%{_smp_mflags}" = "-j2" ]; then
|
||||||
echo "test will fail with make -j2 check"
|
echo "test will fail with make -j2 check"
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -87,6 +93,9 @@ fi
|
|||||||
%{_infodir}/*
|
%{_infodir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 31 2022 fuanan <fuanan3@h-partners.com> - 1:4.3-2
|
||||||
|
- continue build when test-case(features/output-sync) failed
|
||||||
|
|
||||||
* Tue Jul 28 2020 wangchen <wangchen137@huawei.com> - 1:4.3-1
|
* Tue Jul 28 2020 wangchen <wangchen137@huawei.com> - 1:4.3-1
|
||||||
- Update to 4.3
|
- Update to 4.3
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user