meson: tests: add vmware 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:
Pavel Hrdina 2020-07-27 11:39:41 +02:00
parent 9b7b632067
commit 13eb365d5d
2 changed files with 6 additions and 11 deletions

View File

@ -24,10 +24,6 @@ if WITH_VMX
test_programs += vmx2xmltest xml2vmxtest
endif WITH_VMX
if WITH_VMWARE
test_programs += vmwarevertest
endif WITH_VMWARE
if WITH_YAJL
test_programs += virjsontest
endif WITH_YAJL
@ -109,13 +105,6 @@ xml2vmxtest_SOURCES = \
xml2vmxtest_LDADD = $(LDADDS)
endif WITH_VMX
if WITH_VMWARE
vmwarevertest_SOURCES = \
vmwarevertest.c \
testutils.c testutils.h
vmwarevertest_LDADD = $(LDADDS)
endif WITH_VMWARE
if WITH_NSS
## Intentionaly not linking with anything else.
## See the test source for more detailed explanation.

View File

@ -525,6 +525,12 @@ if conf.has('WITH_VBOX')
]
endif
if conf.has('WITH_VMWARE')
tests += [
{ 'name': 'vmwarevertest' },
]
endif
foreach data : tests
test_sources = '@0@.c'.format(data['name'])
test_bin = executable(