Lines Matching refs:argv

61 static int maybe_run_test(int argc, char **argv);
68 int main(int argc, char **argv) {
76 platform_init(argc, argv);
77 argv = uv_setup_args(argc, argv);
81 case 2: return maybe_run_test(argc, argv);
82 case 3: return run_test_part(argv[1], argv[2]);
83 case 4: return maybe_run_test(argc, argv);
92 static int maybe_run_test(int argc, char **argv) {
93 if (strcmp(argv[1], "--list") == 0) {
98 if (strcmp(argv[1], "ipc_helper_listen_before_write") == 0) {
102 if (strcmp(argv[1], "ipc_helper_listen_after_write") == 0) {
106 if (strcmp(argv[1], "ipc_helper_heavy_traffic_deadlock_bug") == 0) {
110 if (strcmp(argv[1], "ipc_send_recv_helper") == 0) {
114 if (strcmp(argv[1], "ipc_helper_tcp_connection") == 0) {
118 if (strcmp(argv[1], "ipc_helper_bind_twice") == 0) {
122 if (strcmp(argv[1], "ipc_helper_send_zero") == 0) {
126 if (strcmp(argv[1], "stdio_over_pipes_helper") == 0) {
130 if (strcmp(argv[1], "spawn_helper1") == 0) {
135 if (strcmp(argv[1], "spawn_helper2") == 0) {
141 if (strcmp(argv[1], "spawn_tcp_server_helper") == 0) {
146 if (strcmp(argv[1], "spawn_helper3") == 0) {
155 if (strcmp(argv[1], "spawn_helper4") == 0) {
161 if (strcmp(argv[1], "spawn_helper5") == 0) {
181 if (strcmp(argv[1], "spawn_helper6") == 0) {
195 if (strcmp(argv[1], "spawn_helper7") == 0) {
211 if (strcmp(argv[1], "spawn_helper8") == 0) {
243 if (strcmp(argv[1], "spawn_helper9") == 0) {
250 if (strcmp(argv[1], "spawn_helper_setuid_setgid") == 0) {
251 uv_uid_t uid = atoi(argv[2]);
252 uv_gid_t gid = atoi(argv[3]);
262 if (strcmp(argv[1], "process_title_big_argv_helper") == 0) {
268 return run_test(argv[1], 0, 1);