Skip to content
Snippets Groups Projects
Commit b82cbbf0 authored by Bin Meng's avatar Bin Meng Committed by Thomas Huth
Browse files

tests/qtest: qmp-test: Skip running test_qmp_oob for win32


The test_qmp_oob test case calls mkfifo() which does not exist on
win32. Exclude it.

Signed-off-by: default avatarBin Meng <bin.meng@windriver.com>
Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
Message-Id: <20220925113032.1949844-31-bmeng.cn@gmail.com>
Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
parent 8bf5bb2e
No related branches found
No related tags found
No related merge requests found
......@@ -159,6 +159,8 @@ static void test_qmp_protocol(void)
qtest_quit(qts);
}
#ifndef _WIN32
/* Out-of-band tests */
char tmpdir[] = "/tmp/qmp-test-XXXXXX";
......@@ -277,6 +279,8 @@ static void test_qmp_oob(void)
qtest_quit(qts);
}
#endif /* _WIN32 */
/* Preconfig tests */
static void test_qmp_preconfig(void)
......@@ -336,7 +340,10 @@ int main(int argc, char *argv[])
g_test_init(&argc, &argv, NULL);
qtest_add_func("qmp/protocol", test_qmp_protocol);
#ifndef _WIN32
/* This case calls mkfifo() which does not exist on 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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment