On 2018-08-22 11:54, Juan Quintela wrote: > Signed-off-by: Juan Quintela <quint...@redhat.com> > --- > tests/Makefile.include | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/tests/Makefile.include b/tests/Makefile.include > index 15296be246..9a918f7655 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 > 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
Add hcd-xhci-nec.c here, too? Anyway: Reviewed-by: Thomas Huth <th...@redhat.com>