[libvirt PATCH 1/5] build: only build virnetdevopenvswitchtest on Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Now that it uses virnetdevbandwidthmock which we only
build on Linux.

Fixes: eb55e8a897a8c9d68664daa213b1a76b0cb3c05d
Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 tests/meson.build | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/meson.build b/tests/meson.build
index 3c73cbe3b5..dfbc2c01e2 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -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
 
-- 
2.31.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux