diff --git a/varnish.spec b/varnish.spec index 725dba1..6ece07e 100644 --- a/varnish.spec +++ b/varnish.spec @@ -131,7 +131,11 @@ mkdir -p "$b/%_docdir/%name" cp -a ChangeLog LICENSE README "$b/%_docdir/%name/" %check -make %{?_smp_mflags} check +if ! make %{?_smp_mflags} check; then + x="$?" + cat bin/varnishtest/test-suite.log + exit "$x" +fi %pre %_bindir/getent group varnish >/dev/null || \