[Qemu-devel] [PATCH 12/25] check: Only test ipack when it is compiled in

Juan Quintela posted 25 patches 7 years, 3 months ago
[Qemu-devel] [PATCH 12/25] check: Only test ipack when it is compiled in
Posted by Juan Quintela 7 years, 3 months ago
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 tests/Makefile.include | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/Makefile.include b/tests/Makefile.include
index 691f853ab6..5a3943c81c 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -230,10 +230,10 @@ check-qtest-pci-$(CONFIG_ES1370) += tests/es1370-test$(EXESUF)
 gcov-files-pci-$(CONFIG_ES1370) += hw/audio/es1370.c
 check-qtest-pci-y += $(check-qtest-virtio-y)
 gcov-files-pci-y += $(gcov-files-virtio-y) hw/virtio/virtio-pci.c
-check-qtest-pci-y += tests/tpci200-test$(EXESUF)
-gcov-files-pci-y += hw/ipack/tpci200.c
-check-qtest-pci-y += $(check-qtest-ipack-y)
-gcov-files-pci-y += $(gcov-files-ipack-y)
+check-qtest-pci-$(CONFIG_IPACK) += tests/tpci200-test$(EXESUF)
+gcov-files-pci-$(CONFIG_IPACK) += hw/ipack/tpci200.c
+check-qtest-pci-$(CONFIG_IPACK) += $(check-qtest-ipack-y)
+gcov-files-pci-$(CONFIG_IPACK) += $(gcov-files-ipack-y)
 check-qtest-pci-y += tests/display-vga-test$(EXESUF)
 gcov-files-pci-y += hw/display/vga.c
 gcov-files-pci-y += hw/display/cirrus_vga.c
-- 
2.17.1


Re: [Qemu-devel] [PATCH 12/25] check: Only test ipack when it is compiled in
Posted by Thomas Huth 7 years, 3 months ago
On 17.07.2018 13:33, Juan Quintela wrote:
> Signed-off-by: Juan Quintela <quintela@redhat.com>
> ---
>  tests/Makefile.include | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/tests/Makefile.include b/tests/Makefile.include
> index 691f853ab6..5a3943c81c 100644
> --- a/tests/Makefile.include
> +++ b/tests/Makefile.include
> @@ -230,10 +230,10 @@ check-qtest-pci-$(CONFIG_ES1370) += tests/es1370-test$(EXESUF)
>  gcov-files-pci-$(CONFIG_ES1370) += hw/audio/es1370.c
>  check-qtest-pci-y += $(check-qtest-virtio-y)
>  gcov-files-pci-y += $(gcov-files-virtio-y) hw/virtio/virtio-pci.c
> -check-qtest-pci-y += tests/tpci200-test$(EXESUF)
> -gcov-files-pci-y += hw/ipack/tpci200.c
> -check-qtest-pci-y += $(check-qtest-ipack-y)
> -gcov-files-pci-y += $(gcov-files-ipack-y)
> +check-qtest-pci-$(CONFIG_IPACK) += tests/tpci200-test$(EXESUF)
> +gcov-files-pci-$(CONFIG_IPACK) += hw/ipack/tpci200.c
> +check-qtest-pci-$(CONFIG_IPACK) += $(check-qtest-ipack-y)
> +gcov-files-pci-$(CONFIG_IPACK) += $(gcov-files-ipack-y)
>  check-qtest-pci-y += tests/display-vga-test$(EXESUF)
>  gcov-files-pci-y += hw/display/vga.c
>  gcov-files-pci-y += hw/display/cirrus_vga.c
> 

Reviewed-by: Thomas Huth <thuth@redhat.com>