check: Only test i82801b11 when it is compiled in
authorJuan Quintela <quintela@redhat.com>
Tue, 10 Jul 2018 17:02:03 +0000 (19:02 +0200)
committerJuan Quintela <quintela@redhat.com>
Tue, 21 Aug 2018 17:52:15 +0000 (19:52 +0200)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
tests/Makefile.include

index 7891e27849d6c57ca5d9cda5a1a5e6855897ee5d..d5029c4aaad9f4cba900e068d163b265be51a64d 100644 (file)
@@ -278,8 +278,8 @@ gcov-files-i386-y += hw/net/net_rx_pkt.c
 gcov-files-i386-y += hw/net/net_tx_pkt.c
 check-qtest-i386-y += tests/pvpanic-test$(EXESUF)
 gcov-files-i386-y += i386-softmmu/hw/misc/pvpanic.c
-check-qtest-i386-y += tests/i82801b11-test$(EXESUF)
-gcov-files-i386-y += hw/pci-bridge/i82801b11.c
+check-qtest-i386-$(CONFIG_I82801B11) += tests/i82801b11-test$(EXESUF)
+gcov-files-i386-$(CONFIG_I82801B11) += hw/pci-bridge/i82801b11.c
 check-qtest-i386-$(CONFIG_IOH3420) += tests/ioh3420-test$(EXESUF)
 gcov-files-i386-$(CONFIG_IOH3420) += hw/pci-bridge/ioh3420.c
 check-qtest-i386-y += tests/usb-hcd-ohci-test$(EXESUF)