From 6fb5e1331742aeb2780cd5dc0ae53716666b703c Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 10 Oct 2018 04:58:18 +0100 Subject: [PATCH 1/5] check: Only test ivshm when it is compiled in RH-Author: Markus Armbruster Message-id: <20181010045819.32729-2-armbru@redhat.com> Patchwork-id: 82527 O-Subject: [RHEL8/rhel qemu-kvm PATCH 1/2] check: Only test ivshm when it is compiled in Bugzilla: 1621817 RH-Acked-by: Laszlo Ersek RH-Acked-by: Thomas Huth RH-Acked-by: Stefan Hajnoczi From: Juan Quintela Signed-off-by: Juan Quintela Reviewed-by: Thomas Huth Signed-off-by: Juan Quintela (cherry picked from commit 1336e6085b5b01d274d1cd668897f13a40817fe3) Conflicts contextually because we have downstream hacks instead of the full upstream series containing this patch. Signed-off-by: Markus Armbruster Signed-off-by: Danilo C. L. de Paula --- tests/Makefile.include | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/Makefile.include b/tests/Makefile.include index cb12ee6..3ed8531 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -244,8 +244,8 @@ gcov-files-pci-y += hw/display/virtio-gpu-pci.c gcov-files-pci-$(CONFIG_VIRTIO_VGA) += hw/display/virtio-vga.c check-qtest-pci-y += tests/intel-hda-test$(EXESUF) gcov-files-pci-y += hw/audio/intel-hda.c hw/audio/hda-codec.c -check-qtest-pci-$(CONFIG_IVSHMEM) += tests/ivshmem-test$(EXESUF) -gcov-files-pci-y += hw/misc/ivshmem.c +check-qtest-pci-$(CONFIG_IVSHMEM_DEVICE) += tests/ivshmem-test$(EXESUF) +gcov-files-pci-$(CONFIG_IVSHMEM_DEVICE) += hw/misc/ivshmem.c #check-qtest-pci-y += tests/megasas-test$(EXESUF) #gcov-files-pci-y += hw/scsi/megasas.c @@ -356,7 +356,8 @@ check-qtest-ppc64-y += $(check-qtest-virtio-y) #check-qtest-ppc64-$(CONFIG_POSIX) += tests/test-filter-redirector$(EXESUF) check-qtest-ppc64-y += tests/display-vga-test$(EXESUF) check-qtest-ppc64-y += tests/numa-test$(EXESUF) -#check-qtest-ppc64-$(CONFIG_IVSHMEM) += tests/ivshmem-test$(EXESUF) +check-qtest-ppc64-$(CONFIG_IVSHMEM_DEVICE) += tests/ivshmem-test$(EXESUF) +gcov-files-ppc64-$(CONFIG_IVSHMEM_DEVICE) += hw/misc/ivshmem.c check-qtest-ppc64-y += tests/cpu-plug-test$(EXESUF) check-qtest-sh4-y = tests/endianness-test$(EXESUF) -- 1.8.3.1