]> xenbits.xensource.com Git - libvirt.git/commit
tests: Deduplicate some WITH_* checks
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 14 Apr 2022 10:44:31 +0000 (12:44 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 5 May 2022 11:26:32 +0000 (13:26 +0200)
commit5e5d030b1c6b542dfe22224d78bea84f85769503
treee7c0caa059b979a57c3131f104801489d1979ced
parent47503cc85991ed460eeaf114997b6127278ff25f
tests: Deduplicate some WITH_* checks

When constructing mock_libs array it is firstly initialized to a
static set of mocks followed by couple of WITH_* checks to append
driver specific mocks. These checks are then repeated when
filling some other variables (e.g. supplementary helpers,
libraries, tests, etc.). Dissolve the former in the latter since
we are already doing that, partially, for qemu (qemucapsprobemock
and qemuhotplugmock)

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