test: enable test-tcp-try-write on windows
PR: https://github.com/libuv/libuv/pull/127 Reviewed-by: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
parent
9b8cef4428
commit
85a293430f
@ -28,16 +28,6 @@
|
|||||||
|
|
||||||
#define MAX_BYTES 1024 * 1024
|
#define MAX_BYTES 1024 * 1024
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
|
|
||||||
TEST_IMPL(tcp_try_write) {
|
|
||||||
|
|
||||||
MAKE_VALGRIND_HAPPY();
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#else /* !_WIN32 */
|
|
||||||
|
|
||||||
static uv_tcp_t server;
|
static uv_tcp_t server;
|
||||||
static uv_tcp_t client;
|
static uv_tcp_t client;
|
||||||
static uv_tcp_t incoming;
|
static uv_tcp_t incoming;
|
||||||
@ -138,5 +128,3 @@ TEST_IMPL(tcp_try_write) {
|
|||||||
MAKE_VALGRIND_HAPPY();
|
MAKE_VALGRIND_HAPPY();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* !_WIN32 */
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user