mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
meson: tests: add vbox specific tests
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
404991789b
commit
9b7b632067
@ -20,10 +20,6 @@ if WITH_QEMU
|
||||
test_helpers += qemucapsprobe
|
||||
endif WITH_QEMU
|
||||
|
||||
if WITH_VBOX
|
||||
test_programs += vboxsnapshotxmltest
|
||||
endif WITH_VBOX
|
||||
|
||||
if WITH_VMX
|
||||
test_programs += vmx2xmltest xml2vmxtest
|
||||
endif WITH_VMX
|
||||
@ -101,14 +97,6 @@ qemucapsprobe_LDADD = \
|
||||
libqemutestdriver.la $(LDADDS)
|
||||
endif WITH_QEMU
|
||||
|
||||
if WITH_VBOX
|
||||
vboxsnapshotxmltest_SOURCES = \
|
||||
vboxsnapshotxmltest.c \
|
||||
testutils.c testutils.h
|
||||
vbox_LDADDS = ../src/libvirt_driver_vbox_impl.la
|
||||
vboxsnapshotxmltest_LDADD = $(LDADDS) $(vbox_LDADDS)
|
||||
endif WITH_VBOX
|
||||
|
||||
if WITH_VMX
|
||||
vmx2xmltest_SOURCES = \
|
||||
vmx2xmltest.c \
|
||||
|
@ -519,6 +519,12 @@ if conf.has('WITH_STORAGE_SHEEPDOG')
|
||||
]
|
||||
endif
|
||||
|
||||
if conf.has('WITH_VBOX')
|
||||
tests += [
|
||||
{ 'name': 'vboxsnapshotxmltest', 'link_with': [ vbox_driver_impl ] },
|
||||
]
|
||||
endif
|
||||
|
||||
foreach data : tests
|
||||
test_sources = '@0@.c'.format(data['name'])
|
||||
test_bin = executable(
|
||||
|
Loading…
Reference in New Issue
Block a user