diff options
author | Juan Quintela <quintela@redhat.com> | 2018-07-10 15:50:42 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2018-08-21 19:52:15 +0200 |
commit | f5f3e02a456b74d8000f3d7cb84210f00186e5c4 (patch) | |
tree | 993cdbd0d23a9e4ceff1f270191640aec50f6b9f /tests/Makefile.include | |
parent | e48085f1aaa5a389b8e078ee9363e65e7ba41c64 (diff) |
check: Only test ac97 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.include | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makefile.include b/tests/Makefile.include index 386e3db7d7..e90a8a251c 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -226,8 +226,8 @@ check-qtest-pci-$(CONFIG_NE2000_PCI) += tests/ne2000-test$(EXESUF) gcov-files-pci-$(CONFIG_NE2000_PCI) += hw/net/ne2000.c 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-$(CONFIG_AC97) += tests/ac97-test$(EXESUF) +gcov-files-pci-$(CONFIG_AC97) += hw/audio/ac97.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) |