Home
last modified time | relevance | path

Searched refs:testcase (Results 1 – 25 of 151) sorted by relevance

1234567

/netbsd/src/external/bsd/libevent/dist/test/
Dtinytest.c108 testcase_run_in_thread_(const struct testcase_t *testcase, void *env) in testcase_run_in_thread_() argument
116 &(testcase->fn), in testcase_run_in_thread_()
155 testcase_run_bare_(const struct testcase_t *testcase) in testcase_run_bare_() argument
159 if (testcase->setup) { in testcase_run_bare_()
160 env = testcase->setup->setup_fn(testcase); in testcase_run_bare_()
171 cur_test_outcome = testcase_run_in_thread_(testcase, env); in testcase_run_bare_()
174 testcase->fn(env); in testcase_run_bare_()
178 testcase->fn(env); in testcase_run_bare_()
183 if (testcase->setup) { in testcase_run_bare_()
184 if (testcase->setup->cleanup_fn(testcase, env) == 0) in testcase_run_bare_()
[all …]
Dregress_main.c244 basic_test_setup(const struct testcase_t *testcase) in basic_test_setup() argument
253 if (testcase->flags & TT_ENABLE_IOCP_FLAG) in basic_test_setup()
257 if (testcase->flags & TT_ENABLE_DEBUG_MODE && in basic_test_setup()
263 if (testcase->flags & TT_NEED_THREADS) { in basic_test_setup()
264 if (!(testcase->flags & TT_FORK)) in basic_test_setup()
277 if (testcase->flags & TT_NEED_SOCKETPAIR) { in basic_test_setup()
293 if (testcase->flags & TT_NEED_BASE) { in basic_test_setup()
294 if (testcase->flags & TT_LEGACY) in basic_test_setup()
301 if (testcase->flags & TT_ENABLE_IOCP_FLAG) { in basic_test_setup()
308 if (testcase->flags & TT_NEED_DNS) { in basic_test_setup()
[all …]
/netbsd/src/external/bsd/ntp/dist/sntp/libevent/test/
Dtinytest.c109 testcase_run_in_thread_(const struct testcase_t *testcase, void *env) in testcase_run_in_thread_() argument
117 &(testcase->fn), in testcase_run_in_thread_()
156 testcase_run_bare_(const struct testcase_t *testcase) in testcase_run_bare_() argument
160 if (testcase->setup) { in testcase_run_bare_()
161 env = testcase->setup->setup_fn(testcase); in testcase_run_bare_()
172 cur_test_outcome = testcase_run_in_thread_(testcase, env); in testcase_run_bare_()
175 testcase->fn(env); in testcase_run_bare_()
179 testcase->fn(env); in testcase_run_bare_()
184 if (testcase->setup) { in testcase_run_bare_()
185 if (testcase->setup->cleanup_fn(testcase, env) == 0) in testcase_run_bare_()
[all …]
Dregress_main.c241 basic_test_setup(const struct testcase_t *testcase) in basic_test_setup() argument
250 if (testcase->flags & TT_ENABLE_IOCP_FLAG) in basic_test_setup()
254 if (testcase->flags & TT_ENABLE_DEBUG_MODE && in basic_test_setup()
260 if (testcase->flags & TT_NEED_THREADS) { in basic_test_setup()
261 if (!(testcase->flags & TT_FORK)) in basic_test_setup()
274 if (testcase->flags & TT_NEED_SOCKETPAIR) { in basic_test_setup()
290 if (testcase->flags & TT_NEED_BASE) { in basic_test_setup()
291 if (testcase->flags & TT_LEGACY) in basic_test_setup()
298 if (testcase->flags & TT_ENABLE_IOCP_FLAG) { in basic_test_setup()
305 if (testcase->flags & TT_NEED_DNS) { in basic_test_setup()
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
Dnested-subp1.exp25 set testcase "nested-subp1"
32 if { [gdb_compile "${srcdir}/${subdir}/${testcase}.c" \
33 [standard_output_file "${testcase}"] \
42 clean_restart "${testcase}"
47 set bp_location [gdb_get_line_number "STOP" "${testcase}.c"]
48 gdb_test "break ${testcase}.c:${bp_location}" \
Dnested-subp3.exp25 set testcase "nested-subp3"
42 if { [gdb_compile "${srcdir}/${subdir}/${testcase}.c" \
43 [standard_output_file "${testcase}"] \
51 clean_restart "${testcase}"
56 set bp_location [gdb_get_line_number "STOP" "${testcase}.c"]
57 gdb_test "break ${testcase}.c:${bp_location}" \
Dnested-subp2.exp25 set testcase "nested-subp2"
42 if { [gdb_compile "${srcdir}/${subdir}/${testcase}.c" \
43 [standard_output_file "${testcase}"] \
51 clean_restart "${testcase}"
56 set bp_location [gdb_get_line_number "STOP" "${testcase}.c"]
57 gdb_test "break ${testcase}.c:${bp_location}" \
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/wind/
Dtest-ldap.c47 struct testcase { struct
54 static const struct testcase testcases[] = { argument
61 static const struct testcase testcases2[] = {
78 const struct testcase *t = &testcases[i]; in main()
103 const struct testcase *t = &testcases2[i]; in main()
Dtest-utf8.c75 struct testcase { struct
82 static const struct testcase testcases[] = { argument
125 const struct testcase *t = &testcases[i]; in main()
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.arch/
Ddisp-step-insn-reloc.exp58 set testcase [read_testcase $i]
60 gdb_test "break *set_point$i" "Breakpoint .*" "breakpoint on ${testcase}"
70 set testcase [read_testcase $i]
72 with_test_prefix "${testcase}" {
Dftrace-insn-reloc.exp87 set testcase [read_testcase $i]
90 "fast tracepoint on ${testcase}"
100 set testcase [read_testcase $i]
104 "relocated instruction at ${testcase}"
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/lib/
Dgen-perf-test.exp246 set testcase(name) $name
247 set testcase(language) $GenPerfTest::DEFAULT_LANGUAGE
248 set testcase(run_names) [list $name]
249 set testcase(binary_extra_sources) $GenPerfTest::DEFAULT_BINARY_EXTRA_SOURCES
250 set testcase(binary_extra_headers) $GenPerfTest::DEFAULT_BINARY_EXTRA_HEADERS
251 set testcase(gen_shlib_extra_sources) $GenPerfTest::DEFAULT_GEN_SHLIB_EXTRA_SOURCES
252 set testcase(gen_shlib_extra_headers) $GenPerfTest::DEFAULT_GEN_SHLIB_EXTRA_HEADERS
253 set testcase(tail_shlib_sources) $GenPerfTest::DEFAULT_TAIL_SHLIB_SOURCES
254 set testcase(tail_shlib_headers) $GenPerfTest::DEFAULT_TAIL_SHLIB_HEADERS
255 set testcase(nr_gen_shlibs) $GenPerfTest::DEFAULT_NR_GEN_SHLIBS
[all …]
/netbsd/src/tests/crypto/libcrypto/
Dt_sha512trunc.c40 struct testcase { struct
47 check(const struct testcase *C, size_t n, size_t digestlen, const EVP_MD *md) in check() argument
102 static const struct testcase C[] = { in ATF_TC_BODY()
136 static const struct testcase C[] = { in ATF_TC_BODY()
/netbsd/src/external/ibm-public/postfix/dist/src/util/
Dprintable.c129 struct testcase { struct
134 static const struct testcase testcases[] = { argument
183 const struct testcase *tp; in main()
Dvalid_utf8_string.c121 struct testcase { struct
131 static const struct testcase testcases[] = { argument
191 const struct testcase *tp; in main()
Dhash_fnv.c170 struct testcase { in main() struct
174 static struct testcase testcases[] = in main()
189 struct testcase *tp; in main()
Dreadlline.c181 struct testcase { struct
189 static const struct testcase testcases[] = { argument
298 const struct testcase *tp; in main()
Ddict_stream.c157 struct testcase { in main() struct
174 struct testcase testcases[] = { in main()
195 struct testcase *tp; in main()
Dmystrtok.c256 struct testcase { struct
261 static const struct testcase testcases[] = { argument
287 const struct testcase *tp; in main()
/netbsd/src/external/bsd/byacc/dist/
DMANIFEST414 test/btyacc_calc1.y testcase for btyacc
415 test/btyacc_demo.y testcase for btyacc
432 test/empty.y testcase for btyacc
433 test/err_inherit1.y testcase for btyacc
434 test/err_inherit2.y testcase for btyacc
435 test/err_inherit3.y testcase for btyacc
436 test/err_inherit4.y testcase for btyacc
437 test/err_inherit5.y testcase for btyacc
439 test/err_syntax10.y testcase for retyped_warning()
440 test/err_syntax11.y testcase for reprec_warning()
[all …]
/netbsd/src/tests/lib/libc/stdio/
Dt_fmemopen.c70 struct testcase { struct
414 struct testcase *t; in ATF_TC_BODY()
465 struct testcase *t; in ATF_TC_BODY()
513 struct testcase *t; in ATF_TC_BODY()
573 struct testcase *t; in ATF_TC_BODY()
631 struct testcase *t; in ATF_TC_BODY()
681 struct testcase *t; in ATF_TC_BODY()
750 struct testcase *t; in ATF_TC_BODY()
786 struct testcase *t; in ATF_TC_BODY()
821 struct testcase *t; in ATF_TC_BODY()
[all …]
/netbsd/src/crypto/external/bsd/libsaslc/dist/test/
DMakefile43 echo " * $$testcase"; \
44 $(VALGRIND) $(VALGRIND_OPTS) ./$$prog $$testcase ; \
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/krb5/
Dn-fold-test.c39 static struct testcase { struct
99 struct testcase *t; in main()
/netbsd/src/external/ibm-public/postfix/dist/src/global/
Dlogin_sender_match.c244 struct testcase { in main() struct
254 struct testcase testcases[] = { in main()
324 struct testcase *tp; in main()
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/
Dparse_reply-test.c52 static struct testcase { struct
93 const struct testcase *t = &tests[i]; in main()

1234567