From: Jan Palus Date: Sun, 11 Mar 2018 11:54:32 +0000 (+0100) Subject: keep cat of test log but make sure build fails on test failure X-Git-Tag: auto/th/fontconfig-2.13.0-3~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?p=packages%2Ffontconfig.git;a=commitdiff_plain;h=1e37af27ad15102c5499b766616d70b622731667 keep cat of test log but make sure build fails on test failure --- 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