[libvirt] [PATCH 3/7] Switch systemd test to use generic dbus mock

Eric Blake eblake at redhat.com
Thu Mar 13 23:12:19 UTC 2014


On 03/12/2014 07:21 AM, Daniel P. Berrange wrote:
> Remove the virsystemdmock.la library and instead make use
> of the shared virmockdbus.la library
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  tests/Makefile.am      |  13 ++---
>  tests/virsystemdmock.c | 139 -------------------------------------------------
>  tests/virsystemdtest.c |  89 +++++++++++++++++++++++++++++--
>  3 files changed, 88 insertions(+), 153 deletions(-)
>  delete mode 100644 tests/virsystemdmock.c
> 
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 8ac200d..baf0483 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -349,7 +349,7 @@ test_libraries += libqemumonitortestutils.la \
>  endif WITH_QEMU
>  
>  if WITH_DBUS
> -test_libraries += virsystemdmock.la \
> +test_libraries += \
>  		virmockdbus.la

Maybe worth collapsing to one line, or using $(NULL)?

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140313/8fe9db54/attachment-0001.sig>


More information about the libvir-list mailing list