spec: Fix printing test-suite.log when make check fails

Commit v5.7.0-248-g03449e2504 removed "cd tests" without updating the
patch to test-suite.log.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Jiri Denemark 2019-12-03 11:49:50 +01:00
parent 3bbe10205b
commit bcc453a6e3

View File

@ -1307,7 +1307,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp \
cd %{_vpath_builddir} cd %{_vpath_builddir}
if ! make %{?_smp_mflags} check VIR_TEST_DEBUG=1 if ! make %{?_smp_mflags} check VIR_TEST_DEBUG=1
then then
cat test-suite.log || true cat tests/test-suite.log || true
exit 1 exit 1
fi fi