ext/libuv/test/run-tests.c in libuv-1.3.0 vs ext/libuv/test/run-tests.c in libuv-2.0.0
- old
+ new
@@ -39,10 +39,11 @@
int ipc_helper(int listen_after_write);
int ipc_helper_tcp_connection(void);
int ipc_send_recv_helper(void);
int ipc_helper_bind_twice(void);
int stdio_over_pipes_helper(void);
+int spawn_stdin_stdout(void);
static int maybe_run_test(int argc, char **argv);
int main(int argc, char **argv) {
@@ -169,8 +170,12 @@
ASSERT(-1 == write(fd, "x", 1));
return 1;
}
#endif /* !_WIN32 */
+
+ if (strcmp(argv[1], "spawn_helper9") == 0) {
+ return spawn_stdin_stdout();
+ }
return run_test(argv[1], 0, 1);
}