[libvirt] [PATCH] tests: Don't build securityselinuxlabeltest without qemu

Daniel P. Berrange berrange at redhat.com
Wed Jan 30 16:13:04 UTC 2013


On Wed, Jan 30, 2013 at 04:46:06PM +0100, Jiri Denemark wrote:
> Sources for securityselinuxlabeltest are only defined if qemu driver is
> enabled so we should not try to build the test if qemu driver is
> disabled.
> ---
>  tests/Makefile.am | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 9da0b4a..0194db2 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -108,10 +108,12 @@ endif
>  
>  if WITH_SECDRIVER_SELINUX
>  test_programs += securityselinuxtest
> +if WITH_QEMU
>  if WITH_ATTR
>  test_programs += securityselinuxlabeltest
>  endif
>  endif
> +endif
>  
>  if WITH_DRIVER_MODULES
>  test_programs += virdrivermoduletest

ACK


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list