aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2023-02-28 19:06:30 +0000
committerAlex Bennée <alex.bennee@linaro.org>2023-03-01 10:31:09 +0000
commita6d715116fa66d479a4620eaa622092e23bd3f2d (patch)
tree4493d32f7a146e92745eccd413e7cb0387a8ff0e /tests
parent627634031092e1514f363fd8659a579398de0f0e (diff)
downloadqemu-a6d715116fa66d479a4620eaa622092e23bd3f2d.zip
qemu-a6d715116fa66d479a4620eaa622092e23bd3f2d.tar.gz
qemu-a6d715116fa66d479a4620eaa622092e23bd3f2d.tar.bz2
tests: don't run socat tests on MacOS as well
In preparation for the next patch when we enable socat for our CI images we need to disable this part of the test for MacOS. The bug has been raised here: https://gitlab.com/qemu-project/qemu/-/issues/1495 Once that is fixed we should re-enable the test. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230228190653.1602033-2-alex.bennee@linaro.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test-io-channel-command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test-io-channel-command.c b/tests/unit/test-io-channel-command.c
index 425e2f5..04b75ab 100644
--- a/tests/unit/test-io-channel-command.c
+++ b/tests/unit/test-io-channel-command.c
@@ -31,7 +31,7 @@
static char *socat = NULL;
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(CONFIG_DARWIN)
static void test_io_channel_command_fifo(bool async)
{
g_autofree gchar *tmpdir = g_dir_make_tmp("qemu-test-io-channel.XXXXXX", NULL);
@@ -128,7 +128,7 @@ int main(int argc, char **argv)
socat = g_find_program_in_path("socat");
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(CONFIG_DARWIN)
g_test_add_func("/io/channel/command/fifo/sync",
test_io_channel_command_fifo_sync);
g_test_add_func("/io/channel/command/fifo/async",