commit ece245811ce6da895f759f4fe09f6753828ba8a1
Author: Jan Palus <[email protected]>
Date:   Sat Sep 9 13:30:59 2023 +0200

    show test-suite.log on build failure

 jq.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/jq.spec b/jq.spec
index 3df82ab..d511872 100644
--- a/jq.spec
+++ b/jq.spec
@@ -122,7 +122,10 @@ echo -e '#!/bin/sh\necho "'%{version}'"' > scripts/version
 # $ make real_docs
 
 %if %{with tests}
-%{__make} check
+if ! %{__make} check; then
+       cat test-suite.log
+       exit 1
+fi
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jq.git/commitdiff/ece245811ce6da895f759f4fe09f6753828ba8a1

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to