Received: from eggs.gnu.org ([2001:4830:134:3::10]:53552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fnNEh-000136-83 for qemu-devel@nongnu.org; Wed, 08 Aug 2018 08:06:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fnNEe-0001bt-1o for qemu-devel@nongnu.org; Wed, 08 Aug 2018 08:06:43 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:37436 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fnNEd-0001bd-R7 for qemu-devel@nongnu.org; Wed, 08 Aug 2018 08:06:39 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 70BDE40216E6 for ; Wed, 8 Aug 2018 12:06:39 +0000 (UTC) References: <20180808114830.7169-1-quintela@redhat.com> <20180808114830.7169-6-quintela@redhat.com> From: Thomas Huth Message-ID: <81c76597-7dd3-59f0-8b04-4972e489bbc8@redhat.com> Date: Wed, 8 Aug 2018 14:06:37 +0200 MIME-Version: 1.0 In-Reply-To: <20180808114830.7169-6-quintela@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 05/22] check: Only test usb-xhci-nec when it is compiled in List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juan Quintela , qemu-devel@nongnu.org Cc: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com On 08/08/2018 01:48 PM, Juan Quintela wrote: > Signed-off-by: Juan Quintela > --- > tests/Makefile.include | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/tests/Makefile.include b/tests/Makefile.include > index 4e5f47aac0..1105469daa 100644 > --- a/tests/Makefile.include > +++ b/tests/Makefile.include > @@ -290,8 +290,9 @@ endif > gcov-files-i386-$(CONFIG_USB_EHCI) += hw/usb/hcd-ehci.c > gcov-files-i386-y += hw/usb/dev-hid.c > gcov-files-i386-y += hw/usb/dev-storage.c > -check-qtest-i386-y += tests/usb-hcd-xhci-test$(EXESUF) > -gcov-files-i386-y += hw/usb/hcd-xhci.c > +check-qtest-i386-$(CONFIG_USB_XHCI_NEC) += tests/usb-hcd-xhci-test$(EXESUF) > +gcov-files-i386-$(CONFIG_USB_XHCI) += hw/usb/hcd-xhci.c > +gcov-files-i386-$(CONFIG_USB_XHCI) += hw/usb/hcd-xhci-nec.c Maybe use CONFIG_USB_XHCI_NEC for the hcd-xhci-nec.c entry instead? > check-qtest-i386-y += tests/cpu-plug-test$(EXESUF) > check-qtest-i386-y += tests/q35-test$(EXESUF) > check-qtest-i386-y += tests/vmgenid-test$(EXESUF) > @@ -349,8 +350,8 @@ check-qtest-ppc64-$(CONFIG_USB_OHCI) += tests/usb-hcd-ohci-test$(EXESUF) > gcov-files-ppc64-$(CONFIG_USB_OHCI) += hw/usb/hcd-ohci.c > check-qtest-ppc64-$(CONFIG_USB_UHCI) += tests/usb-hcd-uhci-test$(EXESUF) > gcov-files-ppc64-$(CONFIG_USB_UHCI) += hw/usb/hcd-uhci.c > -check-qtest-ppc64-y += tests/usb-hcd-xhci-test$(EXESUF) > -gcov-files-ppc64-y += hw/usb/hcd-xhci.c > +check-qtest-ppc64-$(CONFIG_USB_XHCI_NEC) += tests/usb-hcd-xhci-test$(EXESUF) > +gcov-files-ppc64-$(CONFIG_USB_XHCI) += hw/usb/hcd-xhci.c Also add hcd-xhci-nec.c gcov entry here? > check-qtest-ppc64-y += $(check-qtest-virtio-y) > check-qtest-ppc64-$(CONFIG_SLIRP) += tests/test-netfilter$(EXESUF) > check-qtest-ppc64-$(CONFIG_POSIX) += tests/test-filter-mirror$(EXESUF) Thomas