From a730fe52449153bc44355493cb9108d8a5bbbc8e Mon Sep 17 00:00:00 2001 From: Anderson Toshiyuki Sasaki Date: Apr 05 2019 10:47:14 +0000 Subject: Print logs if make check fails Signed-off-by: Anderson Toshiyuki Sasaki --- diff --git a/openssl-pkcs11.spec b/openssl-pkcs11.spec index b593165..64b34ad 100644 --- a/openssl-pkcs11.spec +++ b/openssl-pkcs11.spec @@ -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