Print logs if make check fails

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
This commit is contained in:
Anderson Toshiyuki Sasaki 2019-04-05 12:47:14 +02:00
parent 66016bccb6
commit a730fe5244

View File

@ -89,7 +89,7 @@ rm -f %{buildroot}%{_includedir}/*.h
rm -rf %{buildroot}%{_docdir}/libp11/
%check
make check %{?_smp_mflags}
make check %{?_smp_mflags}; if [ $? -ne 0 ]; then cat tests/*.log; fi;
%ldconfig_scriptlets