From 1e37af27ad15102c5499b766616d70b622731667 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Sun, 11 Mar 2018 12:54:32 +0100 Subject: [PATCH] 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 -- 2.43.0