• M
    tests: Link mocks with libvirt.so · f50ad2ff
    Michal Privoznik 提交于
    In a lot of our mocks (if not all of them) we use our internal
    APIs (e.g. VIR_ALLOC). So far, we're relying on test binary that
    links with the mock to drag in libvirt.so. Well, this works only
    partially. Firstly, whatever binary we execute from tests will
    fail (e.g. as Martin reported on the list ./qemucapsprobe fails
    to execute qemu). Secondly, if there's a program that tries to
    validate linking (like valgrind is doing) it fails because of
    unresolved symbols.
    
    Because of that we have to link our mocks with libvirt.so.
    Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
    Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
    f50ad2ff
Makefile.am 37.1 KB