mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 05:17:59 +03:00
tests: Don't build virgdbusmock on Windows
All of the tests that use this mock (networkxml2firewalltest, virsystemdtest, virpolkittest) are either no-ops on Windows, or are not compiled at all on the target. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
dc6cdf405d
commit
84f2399c9e
@ -82,7 +82,6 @@ mock_libs = [
|
||||
{ 'name': 'virdnsmasqmock' },
|
||||
{ 'name': 'virfilecachemock' },
|
||||
{ 'name': 'virfirewallmock' },
|
||||
{ 'name': 'virgdbusmock', 'deps': [ virgdbusmock_dep] },
|
||||
{ 'name': 'virhostcpumock' },
|
||||
{ 'name': 'virhostdevmock' },
|
||||
{ 'name': 'virnetdaemonmock' },
|
||||
@ -104,6 +103,12 @@ if host_machine.system() == 'linux'
|
||||
]
|
||||
endif
|
||||
|
||||
if host_machine.system() != 'windows'
|
||||
mock_libs += [
|
||||
{ 'name': 'virgdbusmock', 'deps': [ virgdbusmock_dep] },
|
||||
]
|
||||
endif
|
||||
|
||||
|
||||
# build libraries used by tests
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user