[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tests: skip block layer tests if !CONFIG_TOOLS
From: |
Thomas Huth |
Subject: |
Re: [PATCH] tests: skip block layer tests if !CONFIG_TOOLS |
Date: |
Wed, 11 Dec 2019 15:45:12 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 11/12/2019 15.24, Paolo Bonzini wrote:
> From: Marc-André Lureau <address@hidden>
>
> The block tests, as well as ahci-test needs qemu-img. Do not run
> them if it wasn't built.
>
> Signed-off-by: Marc-André Lureau <address@hidden>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> tests/Makefile.include | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/tests/Makefile.include b/tests/Makefile.include
> index 8566f5f..f07c761 100644
> --- a/tests/Makefile.include
> +++ b/tests/Makefile.include
> @@ -169,7 +169,9 @@ check-qtest-pci-$(CONFIG_IVSHMEM_DEVICE) +=
> tests/ivshmem-test$(EXESUF)
> check-qtest-i386-$(CONFIG_ISA_TESTDEV) = tests/endianness-test$(EXESUF)
> check-qtest-i386-y += tests/fdc-test$(EXESUF)
> check-qtest-i386-y += tests/ide-test$(EXESUF)
> +ifeq ($(CONFIG_TOOLS),y)
> check-qtest-i386-y += tests/ahci-test$(EXESUF)
> +endif
Please use "check-qtest-i386-$(CONFIG_TOOLS) += ..." instead.
Thomas