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.bolsha...@yadro.com>
---
  tests/meson.build | 36 ++++++++++++++++++------------------
  1 file changed, 18 insertions(+), 18 deletions(-)

Reviewed-by: Michal Privoznik <mpriv...@redhat.com>

Although I'd expect these foreach loops run only after the whole file was processed. Just like 'make' does.

Michal

Reply via email to