[packages/fontconfig] keep cat of test log but make sure build fails on test failure

atler atler at pld-linux.org
Sun Mar 11 12:56:14 CET 2018


commit 1e37af27ad15102c5499b766616d70b622731667
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Mar 11 12:54:32 2018 +0100

    keep cat of test log but make sure build fails on test failure

 fontconfig.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/fontconfig.spec b/fontconfig.spec
index 2affe47..bbf0ebe 100644
--- a/fontconfig.spec
+++ b/fontconfig.spec
@@ -149,7 +149,7 @@ export HASDOCBOOK=no
 	--%{?with_static_libs:en}%{!?with_static_libs:dis}able-static
 %{__make}
 
-%{?with_tests:%{__make} check || cat test/test-suite.log}
+%{?with_tests:%{__make} check || (cat test/test-suite.log && /bin/false)}
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fontconfig.git/commitdiff/1e37af27ad15102c5499b766616d70b622731667



More information about the pld-cvs-commit mailing list