[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 05/21] tests: disable /char/stdio/* tests in test-char.c on wi
From: |
Yonggang Luo |
Subject: |
[PATCH v2 05/21] tests: disable /char/stdio/* tests in test-char.c on win32 |
Date: |
Wed, 9 Sep 2020 17:46:01 +0800 |
These tests are blocking test-char to be finished.
Merge three #ifndef _WIN32
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
---
tests/test-char.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/test-char.c b/tests/test-char.c
index d35cc839bc..ab037647bf 100644
--- a/tests/test-char.c
+++ b/tests/test-char.c
@@ -103,6 +103,7 @@ static void char_console_test(void)
g_test_trap_assert_stdout("CONSOLE");
}
#endif
+#ifndef _WIN32
static void char_stdio_test_subprocess(void)
{
Chardev *chr;
@@ -126,6 +127,7 @@ static void char_stdio_test(void)
g_test_trap_assert_passed();
g_test_trap_assert_stdout("buf");
}
+#endif
static void char_ringbuf_test(void)
{
@@ -1471,15 +1473,13 @@ int main(int argc, char **argv)
g_test_add_func("/char/console/subprocess", char_console_test_subprocess);
g_test_add_func("/char/console", char_console_test);
#endif
+#ifndef _WIN32
g_test_add_func("/char/stdio/subprocess", char_stdio_test_subprocess);
g_test_add_func("/char/stdio", char_stdio_test);
-#ifndef _WIN32
g_test_add_func("/char/pipe", char_pipe_test);
-#endif
- g_test_add_func("/char/file", char_file_test);
-#ifndef _WIN32
g_test_add_func("/char/file-fifo", char_file_fifo_test);
#endif
+ g_test_add_func("/char/file", char_file_test);
#define SOCKET_SERVER_TEST(name, addr) \
static CharSocketServerTestConfig server1 ## name = \
--
2.28.0.windows.1
- Re: [PATCH v2 02/21] ci: fixes msys2 build by upgrading capstone to 4.0.2, (continued)
- [PATCH v2 04/21] curses: Fixes curses compiling errors., Yonggang Luo, 2020/09/09
- [PATCH v2 05/21] tests: disable /char/stdio/* tests in test-char.c on win32,
Yonggang Luo <=
- [PATCH v2 06/21] ci: Enable msys2 ci in cirrus, Yonggang Luo, 2020/09/09
- [PATCH v2 07/21] tests: Trying fixes test-replication.c on msys2/mingw., Yonggang Luo, 2020/09/09
- [PATCH v2 08/21] tests: test-replication disable /replication/secondary/* on msys2/mingw., Yonggang Luo, 2020/09/09
- [PATCH v2 09/21] osdep: These function are only available on Non-Win32 system., Yonggang Luo, 2020/09/09