build: only build virnetdevopenvswitchtest on Linux

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

Fixes: eb55e8a897
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Ján Tomko 2021-08-20 14:56:53 +02:00
parent ca444a2eb2
commit 4a0c0d85d2

View 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