]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tests: vhost-user: disable unless CONFIG_VHOST_NET
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 6 Oct 2015 09:17:55 +0000 (10:17 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 6 Oct 2015 09:19:27 +0000 (10:19 +0100)
vhost-user depends on vhost-net. We should probably fix that.
For now, let's disable the test otherwise.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tests/Makefile

index 4063639a599cfe3ef7b0572836bc7bfbaeb76019..e6474ba31b8219dd84e3fc17497fd90f4fa0d3e8 100644 (file)
@@ -188,7 +188,9 @@ gcov-files-i386-y += hw/usb/hcd-xhci.c
 check-qtest-i386-y += tests/pc-cpu-test$(EXESUF)
 check-qtest-i386-y += tests/q35-test$(EXESUF)
 gcov-files-i386-y += hw/pci-host/q35.c
+ifeq ($(CONFIG_VHOST_NET),y)
 check-qtest-i386-$(CONFIG_LINUX) += tests/vhost-user-test$(EXESUF)
+endif
 check-qtest-x86_64-y = $(check-qtest-i386-y)
 gcov-files-i386-y += i386-softmmu/hw/timer/mc146818rtc.c
 gcov-files-x86_64-y = $(subst i386-softmmu/,x86_64-softmmu/,$(gcov-files-i386-y))