From a730fe52449153bc44355493cb9108d8a5bbbc8e Mon Sep 17 00:00:00 2001 From: Anderson Toshiyuki Sasaki Date: Fri, 5 Apr 2019 12:47:14 +0200 Subject: [PATCH] Print logs if make check fails Signed-off-by: Anderson Toshiyuki Sasaki --- openssl-pkcs11.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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