]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
meson: tests: add vmware specific tests
authorPavel Hrdina <phrdina@redhat.com>
Mon, 27 Jul 2020 09:39:41 +0000 (11:39 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 3 Aug 2020 07:27:06 +0000 (09:27 +0200)
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
tests/Makefile.am
tests/meson.build

index bf2c2741edd80aac36ab9ea7501af9973b585561..406730e3fa90b48b195ab74e1642831381fc0b91 100644 (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.
index 4eef28b20ab740e548aa4f187c66e345e398281e..235d07847b1ae4546a68bf1f129659a698eb9b1d 100644 (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(