aboutsummaryrefslogtreecommitdiff
path: root/tests/meson.build
diff options
context:
space:
mode:
authorYonggang Luo <luoyonggang@gmail.com>2020-09-08 04:04:30 +0800
committerThomas Huth <thuth@redhat.com>2020-09-16 08:41:06 +0200
commit2d89880003b5324596e44d4743d14a3be70e392d (patch)
tree005d98141ac05cb2e0fbd72736c6de543abe6fe0 /tests/meson.build
parent760064efe1f0c4c62cd4a5c3aa793c7b37280089 (diff)
downloadqemu-2d89880003b5324596e44d4743d14a3be70e392d.zip
qemu-2d89880003b5324596e44d4743d14a3be70e392d.tar.gz
qemu-2d89880003b5324596e44d4743d14a3be70e392d.tar.bz2
meson: Disable test-char on msys2/mingw for fixing tests stuck
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Message-Id: <20200907200432.2418-3-luoyonggang@gmail.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/meson.build')
-rw-r--r--tests/meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build
index dae8a77..82342a2 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -195,8 +195,13 @@ if have_system
# are not runnable under TSan due to a known issue.
# https://github.com/google/sanitizers/issues/1116
if 'CONFIG_TSAN' not in config_host
+ if 'CONFIG_POSIX' in config_host
+ tests += {
+ 'test-char': ['socket-helpers.c', qom, io, chardev]
+ }
+ endif
+
tests += {
- 'test-char': ['socket-helpers.c', qom, io, chardev],
'test-qdev-global-props': [qom, hwcore, testqapi]
}
endif