]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: only build virnetdevopenvswitchtest on Linux
authorJán Tomko <jtomko@redhat.com>
Fri, 20 Aug 2021 12:56:53 +0000 (14:56 +0200)
committerJán Tomko <jtomko@redhat.com>
Fri, 20 Aug 2021 14:43:19 +0000 (16:43 +0200)
Now that it uses virnetdevbandwidthmock which we only
build on Linux.

Fixes: eb55e8a897a8c9d68664daa213b1a76b0cb3c05d
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/meson.build

index 3c73cbe3b55e0e257a116da9e666815a00299a21..dfbc2c01e2097393a5bc8a7794559742785c0ab2 100644 (file)
@@ -350,6 +350,11 @@ if host_machine.system() == 'linux'
     { 'name': 'virscsitest' },
     { 'name': 'virusbtest' },
   ]
+  if conf.has('WITH_YAJL')
+    tests += [
+      { 'name': 'virnetdevopenvswitchtest' },
+    ]
+  endif
 endif
 
 if conf.has('WITH_BHYVE')
@@ -543,7 +548,6 @@ if conf.has('WITH_YAJL')
   tests += [
     { 'name': 'virjsontest' },
     { 'name': 'virmacmaptest' },
-    { 'name': 'virnetdevopenvswitchtest' },
   ]
 endif