[packages/m4] - try to get test suite log

qboosh qboosh at pld-linux.org
Sat Jun 12 22:53:13 CEST 2021


commit 1d260a765195c726535e73af23d79162abd15043
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jun 12 22:55:57 2021 +0200

    - try to get test suite log

 m4.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/m4.spec b/m4.spec
index fb5590a..e780943 100644
--- a/m4.spec
+++ b/m4.spec
@@ -93,14 +93,14 @@ touch checks/stamp-checks
 
 %{__make}
 
+%{?with_tests:%{__make} check || cat tests/test-suite.log}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-%{?with_tests:%{__make} check}
-
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 
 %find_lang %{name}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/m4.git/commitdiff/1d260a765195c726535e73af23d79162abd15043



More information about the pld-cvs-commit mailing list