aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.include
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2018-07-10 15:50:08 +0200
committerJuan Quintela <quintela@redhat.com>2018-08-21 19:52:15 +0200
commite48085f1aaa5a389b8e078ee9363e65e7ba41c64 (patch)
treed3cf2525095a4bb4b64feb8eb81b3aeb9b1f8cb8 /tests/Makefile.include
parenta3780b22c3950e1c4203c264fc95afb5673662d1 (diff)
check: Only test es1370 when it is compiled in
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/Makefile.include')
-rw-r--r--tests/Makefile.include4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makefile.include b/tests/Makefile.include
index bac1a7efe0..386e3db7d7 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -228,8 +228,8 @@ check-qtest-pci-y += tests/nvme-test$(EXESUF)
gcov-files-pci-y += hw/block/nvme.c
check-qtest-pci-y += tests/ac97-test$(EXESUF)
gcov-files-pci-y += hw/audio/ac97.c
-check-qtest-pci-y += tests/es1370-test$(EXESUF)
-gcov-files-pci-y += hw/audio/es1370.c
+check-qtest-pci-$(CONFIG_ES1370) += tests/es1370-test$(EXESUF)
+gcov-files-pci-$(CONFIG_ES1370) += hw/audio/es1370.c
check-qtest-pci-y += $(check-qtest-virtio-y)
gcov-files-pci-y += $(gcov-files-virtio-y) hw/virtio/virtio-pci.c
check-qtest-pci-y += tests/tpci200-test$(EXESUF)