From fb8019dc75641ce7b35d40d4836663acb9c17b8b Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 21 Nov 2013 21:15:42 +0100 Subject: [PATCH] tests: Remove tests which depend on POSIX from non-POSIX builds This avoids unsupported checks for native and cross MinGW builds. Signed-off-by: Stefan Weil --- tests/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Makefile b/tests/Makefile index 379cdd9ad1..648c1e5b64 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -209,7 +209,9 @@ tests/qemu-iotests/socket_scm_helper$(EXESUF): tests/qemu-iotests/socket_scm_hel # QTest rules TARGETS=$(patsubst %-softmmu,%, $(filter %-softmmu,$(TARGET_DIRS))) +ifdef CONFIG_POSIX QTEST_TARGETS=$(foreach TARGET,$(TARGETS), $(if $(check-qtest-$(TARGET)-y), $(TARGET),)) +endif check-qtest-$(CONFIG_POSIX)=$(foreach TARGET,$(TARGETS), $(check-qtest-$(TARGET)-y)) qtest-obj-y = tests/libqtest.o libqemuutil.a libqemustub.a -- 2.11.4.GIT