提交 095ba439 编写于 作者: J Jiri Denemark

spec: Cat test-suite.log if make check fails

Current automake enables parallel test by default, which means test
details are only logged in test-suite.log and not printed to stderr.
This patch makes test failures directly visible in RPM build logs even
when parallel tests are turned on.
上级 9d62472f
......@@ -1482,7 +1482,11 @@ do
printf '#!/bin/sh\nexit 0\n' > $i
chmod +x $i
done
make check
if ! make check VIR_TEST_DEBUG=1
then
cat test-suite.log || true
exit 1
fi
%if %{with_libvirtd}
%pre daemon
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册