• Home
  • Raw
  • Download

Lines Matching refs:testcase

190 basic_test_setup(const struct testcase_t *testcase)  in basic_test_setup()  argument
197 if (testcase->flags & TT_ENABLE_IOCP_FLAG) in basic_test_setup()
201 if (testcase->flags & TT_NEED_THREADS) { in basic_test_setup()
202 if (!(testcase->flags & TT_FORK)) in basic_test_setup()
215 if (testcase->flags & TT_NEED_SOCKETPAIR) { in basic_test_setup()
231 if (testcase->flags & TT_NEED_BASE) { in basic_test_setup()
232 if (testcase->flags & TT_LEGACY) in basic_test_setup()
239 if (testcase->flags & TT_ENABLE_IOCP_FLAG) { in basic_test_setup()
246 if (testcase->flags & TT_NEED_DNS) { in basic_test_setup()
252 if (testcase->flags & TT_NO_LOGS) in basic_test_setup()
261 data->setup_data = testcase->setup_data; in basic_test_setup()
266 basic_test_cleanup(const struct testcase_t *testcase, void *ptr) in basic_test_cleanup() argument
270 if (testcase->flags & TT_NO_LOGS) in basic_test_cleanup()
273 if (testcase->flags & TT_NEED_SOCKETPAIR) { in basic_test_cleanup()
280 if (testcase->flags & TT_NEED_DNS) { in basic_test_cleanup()
284 if (testcase->flags & TT_NEED_BASE) { in basic_test_cleanup()
291 if (testcase->flags & TT_FORK) in basic_test_cleanup()
309 legacy_test_setup(const struct testcase_t *testcase) in legacy_test_setup() argument
311 struct basic_test_data *data = basic_test_setup(testcase); in legacy_test_setup()
317 data->legacy_test_fn = testcase->setup_data; in legacy_test_setup()
347 legacy_test_cleanup(const struct testcase_t *testcase, void *ptr) in legacy_test_cleanup() argument
349 int r = basic_test_cleanup(testcase, ptr); in legacy_test_cleanup()