Print contents of test-suite.log on failure.
This commit is contained in:
parent
f9f7d3f4ad
commit
73cd90170a
11
hivex.spec
11
hivex.spec
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user