[libvirt] [PATCH] qemuargv2xmltest: Fix caps loading in VPATH build

Jiri Denemark posted 1 patch 5 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/83f653ad6316ccc2c752a0ff3f2b9f8ddbe12154.1535459226.git.jdenemar@redhat.com
Test syntax-check passed
tests/qemuargv2xmltest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [PATCH] qemuargv2xmltest: Fix caps loading in VPATH build
Posted by Jiri Denemark 5 years, 7 months ago
Broken by v4.7.0-rc1-9-g6700062fb0.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>

Pushed as build-breaker fix.

---
 tests/qemuargv2xmltest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/qemuargv2xmltest.c b/tests/qemuargv2xmltest.c
index 966e75ef5f..7e250b7b9d 100644
--- a/tests/qemuargv2xmltest.c
+++ b/tests/qemuargv2xmltest.c
@@ -159,7 +159,7 @@ mymain(void)
     do { \
         virQEMUCapsPtr qemuCaps; \
         qemuCaps = qemuTestParseCapabilitiesArch(VIR_ARCH_X86_64, \
-                                                 "qemucapabilitiesdata/caps_2.12.0." arch ".xml"); \
+                                                 abs_srcdir "/qemucapabilitiesdata/caps_2.12.0." arch ".xml"); \
         if (virFileCacheInsertData(driver.qemuCapsCache, \
                                    "/usr/bin/qemu-system-" arch, \
                                    qemuCaps) < 0) \
-- 
2.18.0

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