[libvirt] [PATCH] spec: Fix printing test-suite.log when make check fails

Jiri Denemark posted 1 patch 4 years, 4 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/92525253a54c11f4ebb3790d3695f58aab2f62ba.1575370421.git.jdenemar@redhat.com
libvirt.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [PATCH] spec: Fix printing test-suite.log when make check fails
Posted by Jiri Denemark 4 years, 4 months ago
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>
---
 libvirt.spec.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index c7fac104d9..4c6161a26f 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1307,7 +1307,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp \
 cd %{_vpath_builddir}
 if ! make %{?_smp_mflags} check VIR_TEST_DEBUG=1
 then
-  cat test-suite.log || true
+  cat tests/test-suite.log || true
   exit 1
 fi
 
-- 
2.24.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH] spec: Fix printing test-suite.log when make check fails
Posted by Pavel Hrdina 4 years, 4 months ago
On Tue, Dec 03, 2019 at 11:53:41AM +0100, Jiri Denemark wrote:
> 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>
> ---
>  libvirt.spec.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list