[PATCH v2 5/6] tests: Delay mock creation
Michal Prívozník
mprivozn at redhat.com
Fri Nov 27 09:53:50 UTC 2020
On 11/23/20 11:10 PM, Roman Bolshakov wrote:
> There might be mocks that need to reference qemu test driver and link
> with it. It's not possible now because qemu test driver is defined after
> mocks.
>
> While at it, add 'link_with' parameter to mock definition that allows to
> specify a set of libraries the mock has to be linked with.
>
> Signed-off-by: Roman Bolshakov <r.bolshakov at yadro.com>
> ---
> tests/meson.build | 36 ++++++++++++++++++------------------
> 1 file changed, 18 insertions(+), 18 deletions(-)
Reviewed-by: Michal Privoznik <mprivozn at redhat.com>
Although I'd expect these foreach loops run only after the whole file
was processed. Just like 'make' does.
Michal
More information about the libvir-list
mailing list