]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
tests: only run ipmi-bt-test if CONFIG_LINUX
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 1 Nov 2019 13:36:22 +0000 (13:36 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 12 Nov 2019 14:32:55 +0000 (14:32 +0000)
This test has been unstable on NetBSD for awhile. It seems the
mechanism used to listen to a random port is a Linux-ism (although a
received wisdom Linux-ism rather than a well documented one). As
working around would add more hard to test complexity to the test I've
gone for the easier option of making it CONFIG_LINUX only.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Corey Minyard <cminyard@mvista.com>
Cc: Kamil Rytarowski <kamil@netbsd.org>
tests/Makefile.include

index 534ee4874367011fe79482f66c8d362a64083e04..8566f5f119dd3e668abd06aa45ef6d05354353e7 100644 (file)
@@ -177,7 +177,9 @@ check-qtest-i386-$(CONFIG_SGA) += tests/boot-serial-test$(EXESUF)
 check-qtest-i386-$(CONFIG_SLIRP) += tests/pxe-test$(EXESUF)
 check-qtest-i386-y += tests/rtc-test$(EXESUF)
 check-qtest-i386-$(CONFIG_ISA_IPMI_KCS) += tests/ipmi-kcs-test$(EXESUF)
+ifdef CONFIG_LINUX
 check-qtest-i386-$(CONFIG_ISA_IPMI_BT) += tests/ipmi-bt-test$(EXESUF)
+endif
 check-qtest-i386-y += tests/i440fx-test$(EXESUF)
 check-qtest-i386-y += tests/fw_cfg-test$(EXESUF)
 check-qtest-i386-y += tests/device-plug-test$(EXESUF)