mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 19:02:25 +00:00
qemuargv2xmltest: Use mocked virQEMUCapsProbeHostCPU
The qemuTestParseCapabilitiesArch call would eventually lead to the host CPU being probed via virCPUGetHost. Let's divert this to a mocked version already used by the qemuxml2argvtest. Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
dd3fc650de
commit
02c1d3a6e1
@ -585,7 +585,8 @@ qemuxml2xmltest_LDADD = $(qemu_LDADDS) $(LDADDS)
|
||||
qemuargv2xmltest_SOURCES = \
|
||||
qemuargv2xmltest.c testutilsqemu.c testutilsqemu.h \
|
||||
testutils.c testutils.h
|
||||
qemuargv2xmltest_LDADD = $(qemu_LDADDS) $(LDADDS)
|
||||
qemuargv2xmltest_LDADD = libqemutestdriver.la \
|
||||
$(LDADDS)
|
||||
|
||||
qemumonitorjsontest_SOURCES = \
|
||||
qemumonitorjsontest.c \
|
||||
|
@ -309,7 +309,8 @@ mymain(void)
|
||||
return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||
}
|
||||
|
||||
VIR_TEST_MAIN(mymain)
|
||||
VIR_TEST_MAIN_PRELOAD(mymain,
|
||||
abs_builddir "/.libs/qemucpumock.so")
|
||||
|
||||
#else
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user