cryptospore / rpms / qemu-kvm

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