Home
last modified time | relevance | path

Searched refs:TT_FORK (Results 1 – 17 of 17) sorted by relevance

/external/libevent/test/
Dregress_listener.c309 { "randport", regress_pick_a_port, TT_FORK|TT_NEED_BASE,
312 { "randport_ts", regress_pick_a_port, TT_FORK|TT_NEED_BASE,
317 TT_FORK|TT_NEED_BASE|TT_NEED_SOCKETPAIR|TT_NO_LOGS,
322 TT_FORK|TT_NEED_BASE|TT_NEED_SOCKETPAIR,
326 TT_FORK|TT_NEED_BASE|TT_NEED_SOCKETPAIR,
330 TT_FORK|TT_NEED_BASE, &basic_setup, NULL, },
333 TT_FORK|TT_NEED_BASE, &basic_setup, NULL, },
340 TT_FORK|TT_NEED_BASE|TT_ENABLE_IOCP,
344 TT_FORK|TT_NEED_BASE|TT_NEED_SOCKETPAIR|TT_ENABLE_IOCP,
Dregress_bufferevent.c1369 TT_FORK|TT_ISOLATED|TT_NEED_THREADS|TT_NEED_BASE|TT_LEGACY|TT_NO_LOGS,
1378 { "bufferevent_connect", test_bufferevent_connect, TT_FORK|TT_NEED_BASE,
1381 TT_FORK|TT_NEED_BASE, &basic_setup, (void*)"defer" },
1383 TT_FORK|TT_NEED_BASE|TT_NEED_THREADS, &basic_setup, (void*)"lock" },
1385 TT_FORK|TT_NEED_BASE|TT_NEED_THREADS, &basic_setup,
1388 TT_FORK|TT_NEED_BASE|TT_NEED_THREADS, &basic_setup,
1391 TT_FORK|TT_NEED_BASE, &basic_setup, NULL },
1393 TT_FORK|TT_NEED_BASE, &basic_setup, (void*)"" },
1395 TT_FORK|TT_NEED_BASE, &basic_setup, (void*)"pair" },
1397 TT_FORK|TT_NEED_BASE, &basic_setup, (void*)"filter" },
[all …]
Dregress_dns.c2445 DNS_LEGACY(server, TT_FORK|TT_NEED_BASE),
2446 DNS_LEGACY(gethostbyname, TT_FORK|TT_NEED_BASE|TT_NEED_DNS|TT_OFF_BY_DEFAULT),
2447 DNS_LEGACY(gethostbyname6, TT_FORK|TT_NEED_BASE|TT_NEED_DNS|TT_OFF_BY_DEFAULT),
2448 DNS_LEGACY(gethostbyaddr, TT_FORK|TT_NEED_BASE|TT_NEED_DNS|TT_OFF_BY_DEFAULT),
2449 { "resolve_reverse", dns_resolve_reverse, TT_FORK|TT_OFF_BY_DEFAULT, NULL, NULL },
2450 { "search_empty", dns_search_empty_test, TT_FORK|TT_NEED_BASE, &basic_setup, NULL },
2451 { "search", dns_search_test, TT_FORK|TT_NEED_BASE, &basic_setup, NULL },
2452 { "search_lower", dns_search_lower_test, TT_FORK|TT_NEED_BASE, &basic_setup, NULL },
2454 TT_FORK|TT_NEED_BASE, &basic_setup, NULL },
2455 { "retry", dns_retry_test, TT_FORK|TT_NEED_BASE|TT_NO_LOGS, &basic_setup, NULL },
[all …]
Dregress.c3480 { "methods", test_methods, TT_FORK, NULL, NULL },
3482 BASIC(base_features, TT_FORK|TT_NO_LOGS),
3483 { "base_environ", test_base_environ, TT_FORK, NULL, NULL },
3485 BASIC(event_base_new, TT_FORK|TT_NEED_SOCKETPAIR),
3486 BASIC(free_active_base, TT_FORK|TT_NEED_SOCKETPAIR),
3488 BASIC(manipulate_active_events, TT_FORK|TT_NEED_BASE),
3489 BASIC(event_new_selfarg, TT_FORK|TT_NEED_BASE),
3490 BASIC(event_assign_selfarg, TT_FORK|TT_NEED_BASE),
3491 BASIC(event_base_get_num_events, TT_FORK|TT_NEED_BASE),
3492 BASIC(event_base_get_max_events, TT_FORK|TT_NEED_BASE),
[all …]
Dregress_et.c264 TT_FORK|TT_NEED_BASE|TT_NEED_SOCKETPAIR, &basic_setup, NULL },
266 TT_FORK|TT_NEED_SOCKETPAIR|TT_NO_LOGS, &basic_setup, NULL },
268 TT_FORK|TT_NEED_BASE|TT_NEED_SOCKETPAIR, &basic_setup, NULL },
Dregress_finalize.c386 TEST(cb_invoked, TT_FORK|TT_NEED_BASE),
387 TEST(free_finalize, TT_FORK),
388 TEST(within_cb, TT_FORK|TT_NEED_BASE),
389 TEST(debug_use_after_free, TT_FORK|TT_NEED_BASE|TT_ENABLE_DEBUG_MODE),
Dregress_iocp.c344 { "port", test_iocp_port, TT_FORK|TT_NEED_THREADS, &basic_setup, NULL },
346 TT_FORK|TT_NEED_SOCKETPAIR|TT_NEED_THREADS,
349 TT_FORK|TT_NEED_SOCKETPAIR|TT_NEED_THREADS|TT_NEED_BASE,
Dregress_thread.c568 { #name, thread_##name, TT_FORK|TT_NEED_THREADS|TT_NEED_BASE|(f), \
572 { "basic", thread_basic, TT_FORK|TT_NEED_THREADS|TT_NEED_BASE,
575 { "forking", thread_basic, TT_FORK|TT_NEED_THREADS|TT_NEED_BASE,
580 TT_FORK|TT_NEED_THREADS|TT_OFF_BY_DEFAULT,
Dregress_ssl.c1062 TT_FORK|TT_NEED_BASE, &ssl_setup, NULL },
1064 TT_FORK|TT_NEED_BASE, &ssl_setup, T(REGRESS_OPENSSL_SLEEP) },
1067 TT_FORK|TT_NEED_BASE, &ssl_setup, NULL },
1069 TT_FORK|TT_NEED_BASE, &ssl_setup, T(REGRESS_OPENSSL_FILTER) },
1071 TT_FORK|TT_NEED_BASE, &ssl_setup, T(REGRESS_DEFERRED_CALLBACKS) },
1073 TT_FORK|TT_NEED_BASE, &ssl_setup, T(REGRESS_OPENSSL_FILTER|REGRESS_DEFERRED_CALLBACKS) },
Dtinytest.h30 #define TT_FORK (1<<0) macro
Dregress_main.c259 if (!(testcase->flags & TT_FORK)) in basic_test_setup()
348 if (testcase->flags & TT_FORK) in basic_test_cleanup()
Dregress_util.c1655 { "log", test_evutil_log, TT_FORK, NULL, NULL },
1658 { "rand", test_evutil_rand, TT_FORK, NULL, NULL },
1660 { "getaddrinfo", test_evutil_getaddrinfo, TT_FORK, NULL, NULL },
1661 { "getaddrinfo_live", test_evutil_getaddrinfo_live, TT_FORK|TT_OFF_BY_DEFAULT, NULL, NULL },
1662 …{ "getaddrinfo_AI_ADDRCONFIG", test_evutil_getaddrinfo_AI_ADDRCONFIG, TT_FORK|TT_OFF_BY_DEFAULT, N…
1664 { "loadsyslib", test_evutil_loadsyslib, TT_FORK, NULL, NULL },
Dregress.h101 #define TT_ISOLATED TT_FORK|TT_NEED_SOCKETPAIR|TT_NEED_BASE
Dtinytest.c335 if ((testcase->flags & TT_FORK) && !(opt_forked||opt_nofork)) {
Dregress_buffer.c2816 …{ "reserve_invalid_last_with_datap", test_evbuffer_reserve_invalid_last_with_datap, TT_FORK, NULL,…
2833 { "prepend", test_evbuffer_prepend, TT_FORK, NULL, NULL },
2834 { "empty_reference_prepend", test_evbuffer_empty_reference_prepend, TT_FORK, NULL, NULL },
2835 …{ "empty_reference_prepend_buffer", test_evbuffer_empty_reference_prepend_buffer, TT_FORK, NULL, N…
2846 { name, test_evbuffer_add_file, TT_FORK|TT_NEED_BASE, \
Dregress_rpc.c930 { #name, run_legacy_test_fn, TT_FORK|TT_NEED_BASE|TT_LEGACY, \
Dregress_http.c4703 { "base", http_base_test, TT_FORK, NULL, NULL },
4802 { "simple", http_simple_test, TT_FORK|TT_NEED_BASE|TT_ENABLE_IOCP, &basic_setup, NULL },
4804 { "https_simple", https_simple_test, TT_FORK|TT_NEED_BASE|TT_ENABLE_IOCP, &basic_setup, NULL },