]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: skip vmx tests when ESX is disabled
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 21 Nov 2025 11:38:07 +0000 (11:38 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 21 Nov 2025 12:15:27 +0000 (12:15 +0000)
Since the recent change:

  commit f82d30307da8bea396a32dcab2ba9be5c3236b7c
  Author: Michal Prívozník <mprivozn@redhat.com>
  Date:   Fri Nov 14 10:35:14 2025 +0100

    vmx2xmltest: Drop custom file name parse function

The VMX parsing uses the esxParseVMXFileName() function in
the ESX library. This is unavailable when the ESX driver is
disabled, so the tests must be skipped too.

Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
tests/meson.build

index cd53e48aa47733840ca4814720f1169452e9b10c..1f25f674f497704d792e15c8646c2a1e88bdb889 100644 (file)
@@ -548,7 +548,7 @@ if conf.has('WITH_VMWARE')
   ]
 endif
 
-if conf.has('WITH_VMX')
+if conf.has('WITH_VMX') and conf.has('WITH_ESX')
   tests += [
     { 'name': 'vmx2xmltest', 'include': [ esx_inc_dir ], 'link_with': [ esx_lib ] },
     { 'name': 'xml2vmxtest' },