mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
meson: tests: add bhyve 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
1dced6d450
commit
13d02fbec0
@ -95,10 +95,6 @@ if WITH_VMWARE
|
|||||||
test_programs += vmwarevertest
|
test_programs += vmwarevertest
|
||||||
endif WITH_VMWARE
|
endif WITH_VMWARE
|
||||||
|
|
||||||
if WITH_BHYVE
|
|
||||||
test_programs += bhyvexml2argvtest bhyvexml2xmltest bhyveargv2xmltest
|
|
||||||
endif WITH_BHYVE
|
|
||||||
|
|
||||||
if WITH_YAJL
|
if WITH_YAJL
|
||||||
test_programs += virjsontest
|
test_programs += virjsontest
|
||||||
endif WITH_YAJL
|
endif WITH_YAJL
|
||||||
@ -421,27 +417,6 @@ vmwarevertest_SOURCES = \
|
|||||||
vmwarevertest_LDADD = $(LDADDS)
|
vmwarevertest_LDADD = $(LDADDS)
|
||||||
endif WITH_VMWARE
|
endif WITH_VMWARE
|
||||||
|
|
||||||
if WITH_BHYVE
|
|
||||||
bhyve_LDADDS = \
|
|
||||||
../src/libvirt_driver_bhyve_impl.la \
|
|
||||||
$(LDADDS) \
|
|
||||||
$(NULL)
|
|
||||||
bhyvexml2argvtest_SOURCES = \
|
|
||||||
bhyvexml2argvtest.c \
|
|
||||||
testutils.c testutils.h
|
|
||||||
bhyvexml2argvtest_LDADD = $(bhyve_LDADDS)
|
|
||||||
|
|
||||||
bhyvexml2xmltest_SOURCES = \
|
|
||||||
bhyvexml2xmltest.c \
|
|
||||||
testutils.c testutils.h
|
|
||||||
bhyvexml2xmltest_LDADD = $(bhyve_LDADDS)
|
|
||||||
|
|
||||||
bhyveargv2xmltest_SOURCES = \
|
|
||||||
bhyveargv2xmltest.c \
|
|
||||||
testutils.c testutils.h
|
|
||||||
bhyveargv2xmltest_LDADD = $(bhyve_LDADDS)
|
|
||||||
endif WITH_BHYVE
|
|
||||||
|
|
||||||
if WITH_NETWORK
|
if WITH_NETWORK
|
||||||
networkxml2xmltest_SOURCES = \
|
networkxml2xmltest_SOURCES = \
|
||||||
networkxml2xmltest.c \
|
networkxml2xmltest.c \
|
||||||
|
@ -345,6 +345,14 @@ if host_machine.system() == 'linux'
|
|||||||
]
|
]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if conf.has('WITH_BHYVE')
|
||||||
|
tests += [
|
||||||
|
{ 'name': 'bhyveargv2xmltest', 'link_with': [ bhyve_driver_impl ] },
|
||||||
|
{ 'name': 'bhyvexml2argvtest', 'link_with': [ bhyve_driver_impl ] },
|
||||||
|
{ 'name': 'bhyvexml2xmltest', 'link_with': [ bhyve_driver_impl ] },
|
||||||
|
]
|
||||||
|
endif
|
||||||
|
|
||||||
foreach data : tests
|
foreach data : tests
|
||||||
test_sources = '@0@.c'.format(data['name'])
|
test_sources = '@0@.c'.format(data['name'])
|
||||||
test_bin = executable(
|
test_bin = executable(
|
||||||
|
Loading…
Reference in New Issue
Block a user