[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 02/14] tests: don't run socat tests on MacOS as well
From: |
Alex Bennée |
Subject: |
[PATCH v2 02/14] tests: don't run socat tests on MacOS as well |
Date: |
Tue, 21 Feb 2023 09:45:46 +0000 |
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>
---
tests/unit/test-io-channel-command.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/unit/test-io-channel-command.c
b/tests/unit/test-io-channel-command.c
index 425e2f5594..04b75ab3b4 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",
--
2.39.1
- [PATCH v2 00/14] testing/next: docker, avocado, unit, gitlab, Alex Bennée, 2023/02/21
- [PATCH v2 01/14] block: Handle curl 7.55.0, 7.85.0 version changes, Alex Bennée, 2023/02/21
- [PATCH v2 04/14] tests: be a bit more strict cleaning up fifos, Alex Bennée, 2023/02/21
- [PATCH v2 02/14] tests: don't run socat tests on MacOS as well,
Alex Bennée <=
- [PATCH v2 05/14] tests: make fp-test less chatty when running from test suite, Alex Bennée, 2023/02/21
- [PATCH v2 07/14] gitlab: extend custom runners with base_job_template, Alex Bennée, 2023/02/21
- [PATCH v2 11/14] tests: add tuxrun baseline test to avocado, Alex Bennée, 2023/02/21
- [PATCH v2 06/14] gitlab-ci: Use artifacts instead of dumping logs in the Cirrus-CI jobs, Alex Bennée, 2023/02/21
- [PATCH v2 10/14] tests: skip the nios2 replay_kernel test, Alex Bennée, 2023/02/21
- [PATCH v2 03/14] tests: add socat dependency for tests, Alex Bennée, 2023/02/21
- [PATCH v2 13/14] tests: ensure we export job results for some cross builds, Alex Bennée, 2023/02/21