[packages/jq/debug: 1/2] show test-suite.log on build failure
atler
atler at pld-linux.org
Sat Sep 9 15:27:10 CEST 2023
commit ece245811ce6da895f759f4fe09f6753828ba8a1
Author: Jan Palus <atler at pld-linux.org>
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/bb734232de8c2dd1bd786fa24bcf87ec017dfbbb
More information about the pld-cvs-commit
mailing list