Print contents of test-suite.log on failure.

This commit is contained in:
Richard W.M. Jones 2019-01-23 09:42:23 +00:00
parent f9f7d3f4ad
commit 73cd90170a

View File

@ -210,8 +210,15 @@ rm $RPM_BUILD_ROOT%{python3_sitearch}/libhivexmod.la
%check %check
make check if ! make check -k; then
for f in $( find -name test-suite.log | xargs grep -l ^FAIL: ); do
echo
echo "***" $f "***"
cat $f
echo
done
exit 1
fi
%files -f %{name}.lang %files -f %{name}.lang
%doc README LICENSE %doc README LICENSE