Always display test suite errors (#2122010)
Previous change did not do anything, because rpm will terminate the recipe on the first failed command. Make make check not failing directly, but fail it later explicitly. Show details in the mean time.
This commit is contained in:
parent
e4b16641a8
commit
9ef018d129
@ -61,7 +61,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
|
||||
Name: bind
|
||||
License: MPLv2.0
|
||||
Version: 9.18.6
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Epoch: 32
|
||||
Url: https://www.isc.org/downloads/bind/
|
||||
#
|
||||
@ -456,8 +456,8 @@ export TSAN_OPTIONS="log_exe_name=true log_path=ThreadSanitizer exitcode=0"
|
||||
THREADS=16
|
||||
ulimit -n 8092 || : # Requires on some machines with many cores
|
||||
fi
|
||||
make unit -j${THREADS}
|
||||
e=$?
|
||||
e=0
|
||||
make unit -j${THREADS} || e=$?
|
||||
# Display details of failure
|
||||
cat tests/*/test-suite.log
|
||||
if [ "$e" -ne 0 ]; then
|
||||
@ -941,6 +941,9 @@ fi;
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Sep 01 2022 Petr Menšík <pemensik@redhat.com> - 32:9.18.6-2
|
||||
- Always show error details for failed unittests (#2122010)
|
||||
|
||||
* Tue Aug 30 2022 Petr Menšík <pemensik@redhat.com> - 32:9.18.6-1
|
||||
- Update to 9.18.6 (#2119132)
|
||||
- Report unit tests detailed results
|
||||
|
Loading…
Reference in New Issue
Block a user