From d7d5e279c25a5710824d040a5b3f0fe19f3a7dfa Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Tue, 10 Jul 2018 19:02:03 +0200 Subject: [PATCH] check: Only test i82801b11 when it is compiled in Signed-off-by: Juan Quintela Reviewed-by: Thomas Huth --- tests/Makefile.include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile.include b/tests/Makefile.include index 7891e27849d6..d5029c4aaad9 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -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)