[packages/swtpm] - show test-suite log on failure

qboosh qboosh at pld-linux.org
Sat Jul 2 16:46:45 CEST 2022


commit 07ecdc35301950d42015ca2699b9947080eadc7d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jul 2 16:48:21 2022 +0200

    - show test-suite log on failure

 swtpm.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/swtpm.spec b/swtpm.spec
index 0c4812e..a0546a2 100644
--- a/swtpm.spec
+++ b/swtpm.spec
@@ -97,7 +97,7 @@ Plik nagłówkowy z definicjami ioctl SWTPM.
 %{__make}
 
 %if %{with tests}
-%{__make} check
+%{__make} check || { cat tests/test-suite.log ; false ; }
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/swtpm.git/commitdiff/07ecdc35301950d42015ca2699b9947080eadc7d



More information about the pld-cvs-commit mailing list