[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 05/16] tests: disable /char/stdio/* tests in test-char.c on win32
From: |
Yonggang Luo |
Subject: |
[PULL 05/16] tests: disable /char/stdio/* tests in test-char.c on win32 |
Date: |
Wed, 9 Sep 2020 02:49:07 +0800 |
These tests are blocking test-char to be finished.
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
---
tests/test-char.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/test-char.c b/tests/test-char.c
index d35cc839bc..80e5bac61a 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,8 +1473,10 @@ 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);
+#endif
#ifndef _WIN32
g_test_add_func("/char/pipe", char_pipe_test);
#endif
--
2.28.0.windows.1
- [PULL 00/16] Msys2 patches patches, Yonggang Luo, 2020/09/08
- [PULL 01/16] block: Fixes nfs on msys2/mingw, Yonggang Luo, 2020/09/08
- [PULL 02/16] ci: fixes msys2 build by upgrading capstone to 4.0.2, Yonggang Luo, 2020/09/08
- [PULL 04/16] curses: Fixes curses compiling errors., Yonggang Luo, 2020/09/08
- [PULL 05/16] tests: disable /char/stdio/* tests in test-char.c on win32,
Yonggang Luo <=
- [PULL 03/16] configure: Fixes ncursesw detection under msys2/mingw and enable curses, Yonggang Luo, 2020/09/08
- [PULL 06/16] ci: Enable msys2 ci in cirrus, Yonggang Luo, 2020/09/08
- [PULL 07/16] tests: Trying fixes test-replication.c on msys2/mingw., Yonggang Luo, 2020/09/08
- [PULL 08/16] block: get file-win32.c handle locking option consistence with file-posix.c, Yonggang Luo, 2020/09/08
- [PULL 09/16] osdep: These function are only available on Non-Win32 system., Yonggang Luo, 2020/09/08
- [PULL 10/16] meson: Use -b to ignore CR vs. CR-LF issues on Windows, Yonggang Luo, 2020/09/08
- [PULL 11/16] meson: disable crypto tests are empty under win32, Yonggang Luo, 2020/09/08
- [PULL 12/16] meson: remove empty else and duplicated gio deps, Yonggang Luo, 2020/09/08
- [PULL 13/16] vmstate: Fixes test-vmstate.c on msys2/mingw, Yonggang Luo, 2020/09/08