thebeanogamer / rpms / qemu-kvm

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