[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 22/51] tests/qtest: qmp-test: Skip running test_qmp_oob for win32
From: |
Bin Meng |
Subject: |
[PATCH 22/51] tests/qtest: qmp-test: Skip running test_qmp_oob for win32 |
Date: |
Wed, 24 Aug 2022 17:40:00 +0800 |
From: Bin Meng <bin.meng@windriver.com>
The test_qmp_oob test case calls mkfifo() which does not exist on
win32. Exclude it.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
---
tests/qtest/qmp-test.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/qtest/qmp-test.c b/tests/qtest/qmp-test.c
index b950dbafaf..4a165447f8 100644
--- a/tests/qtest/qmp-test.c
+++ b/tests/qtest/qmp-test.c
@@ -159,6 +159,8 @@ static void test_qmp_protocol(void)
qtest_quit(qts);
}
+#ifndef _WIN32
+
/* Out-of-band tests */
char *tmpdir;
@@ -279,6 +281,8 @@ static void test_qmp_oob(void)
qtest_quit(qts);
}
+#endif /* _WIN32 */
+
/* Preconfig tests */
static void test_qmp_preconfig(void)
@@ -338,7 +342,9 @@ int main(int argc, char *argv[])
g_test_init(&argc, &argv, NULL);
qtest_add_func("qmp/protocol", test_qmp_protocol);
+#ifndef _WIN32
qtest_add_func("qmp/oob", test_qmp_oob);
+#endif
qtest_add_func("qmp/preconfig", test_qmp_preconfig);
qtest_add_func("qmp/missing-any-arg", test_qmp_missing_any_arg);
--
2.34.1
- [PATCH 18/51] tests/qtest: Build cases that use memory-backend-file for posix only, (continued)
- [PATCH 18/51] tests/qtest: Build cases that use memory-backend-file for posix only, Bin Meng, 2022/08/24
- [PATCH 19/51] tests/qtest: Build test-filter-{mirror, redirector} cases for posix only, Bin Meng, 2022/08/24
- [PATCH 20/51] tests/qtest: i440fx-test: Skip running request_{bios, pflash} for win32, Bin Meng, 2022/08/24
- [PATCH 21/51] tests/qtest: migration-test: Skip running test_migrate_fd_proto on win32, Bin Meng, 2022/08/24
- [PATCH 22/51] tests/qtest: qmp-test: Skip running test_qmp_oob for win32,
Bin Meng <=
- [PATCH 23/51] accel/qtest: Support qtest accelerator for Windows, Bin Meng, 2022/08/24
- [PATCH 25/51] tests/qtest: libqos: Rename malloc.h to libqos-malloc.h, Bin Meng, 2022/08/24
- [PATCH 26/51] tests/qtest: libqtest: Move global_qtest definition back to libqtest.c, Bin Meng, 2022/08/24