]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemuargv2xmltest: Fix caps loading in VPATH build
authorJiri Denemark <jdenemar@redhat.com>
Tue, 28 Aug 2018 12:24:10 +0000 (14:24 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 28 Aug 2018 12:26:25 +0000 (14:26 +0200)
Broken by v4.7.0-rc1-9-g6700062fb0.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
tests/qemuargv2xmltest.c

index 966e75ef5f3e2a233401641d16274e698daed951..7e250b7b9d273e7a5ce141f0e407532b83ffe833 100644 (file)
@@ -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) \