mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
meson: tests: add openvz 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
517672cedc
commit
7736e926db
@ -53,10 +53,6 @@ test_programs += qemuxml2argvtest qemuxml2xmltest \
|
|||||||
test_helpers += qemucapsprobe
|
test_helpers += qemucapsprobe
|
||||||
endif WITH_QEMU
|
endif WITH_QEMU
|
||||||
|
|
||||||
if WITH_OPENVZ
|
|
||||||
test_programs += openvzutilstest
|
|
||||||
endif WITH_OPENVZ
|
|
||||||
|
|
||||||
if WITH_VBOX
|
if WITH_VBOX
|
||||||
test_programs += vboxsnapshotxmltest
|
test_programs += vboxsnapshotxmltest
|
||||||
endif WITH_VBOX
|
endif WITH_VBOX
|
||||||
@ -280,14 +276,6 @@ qemuvhostusertest_SOURCES = \
|
|||||||
qemuvhostusertest_LDADD = $(qemu_LDADDS)
|
qemuvhostusertest_LDADD = $(qemu_LDADDS)
|
||||||
endif WITH_QEMU
|
endif WITH_QEMU
|
||||||
|
|
||||||
if WITH_OPENVZ
|
|
||||||
openvzutilstest_SOURCES = \
|
|
||||||
openvzutilstest.c \
|
|
||||||
testutils.c testutils.h
|
|
||||||
openvzutilstest_LDADD = $(LDADDS) \
|
|
||||||
../src/libvirt_driver_openvz.la
|
|
||||||
endif WITH_OPENVZ
|
|
||||||
|
|
||||||
if WITH_VBOX
|
if WITH_VBOX
|
||||||
vboxsnapshotxmltest_SOURCES = \
|
vboxsnapshotxmltest_SOURCES = \
|
||||||
vboxsnapshotxmltest.c \
|
vboxsnapshotxmltest.c \
|
||||||
|
@ -434,6 +434,12 @@ if conf.has('WITH_NWFILTER')
|
|||||||
]
|
]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if conf.has('WITH_OPENVZ')
|
||||||
|
tests += [
|
||||||
|
{ 'name': 'openvzutilstest', 'link_with': [ openvz_lib ] },
|
||||||
|
]
|
||||||
|
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