qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL 01/12] qtest: enable vhost-user-test


From: Peter Maydell
Subject: Re: [Qemu-devel] [PULL 01/12] qtest: enable vhost-user-test
Date: Tue, 15 Jul 2014 18:25:51 +0100

On 7 July 2014 13:40, Michael S. Tsirkin <address@hidden> wrote:
> From: Nikolay Nikolaev <address@hidden>
>
> Use qtest-obj-y to get the right library order. CONFIG_POSIX ensures
> mingw compilation won't break.
>
> Signed-off-by: Nikolay Nikolaev <address@hidden>
> Acked-by: Michael S. Tsirkin <address@hidden>
> Signed-off-by: Michael S. Tsirkin <address@hidden>
>
> MST: whitespace tweak
> ---
>  tests/Makefile | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/tests/Makefile b/tests/Makefile
> index 7e53d0d..1fcd633 100644
> --- a/tests/Makefile
> +++ b/tests/Makefile
> @@ -158,7 +158,7 @@ gcov-files-i386-y += hw/usb/hcd-ehci.c
>  gcov-files-i386-y += hw/usb/hcd-uhci.c
>  gcov-files-i386-y += hw/usb/dev-hid.c
>  gcov-files-i386-y += hw/usb/dev-storage.c
> -#check-qtest-i386-y += tests/vhost-user-test$(EXESUF)
> +check-qtest-i386-$(CONFIG_POSIX) += tests/vhost-user-test$(EXESUF)

This breaks 'make check' on MacOSX -- we're CONFIG_POSIX
but the vhost-user-test includes linux/vhost.h, which
obviously doesn't exist. You wanted CONFIG_LINUX;
I'll send a patch to fix this.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]