/kernel/linux/linux-5.10/tools/perf/tests/ |
D | demangle-java-test.c | 18 } test_cases[] = { in test__demangle_java() local 31 for (i = 0; i < sizeof(test_cases) / sizeof(test_cases[0]); i++) { in test__demangle_java() 32 buf = java_demangle_sym(test_cases[i].mangled, 0); in test__demangle_java() 33 if (strcmp(buf, test_cases[i].demangled)) { in test__demangle_java() 34 pr_debug("FAILED: %s: %s != %s\n", test_cases[i].mangled, in test__demangle_java() 35 buf, test_cases[i].demangled); in test__demangle_java()
|
/kernel/linux/linux-5.10/tools/testing/vsock/ |
D | util.c | 295 void run_tests(const struct test_case *test_cases, in run_tests() argument 300 for (i = 0; test_cases[i].name; i++) { in run_tests() 304 printf("%d - %s...", i, test_cases[i].name); in run_tests() 314 if (test_cases[i].skip) in run_tests() 320 if (control_cmpln(line, "SKIP", false) || test_cases[i].skip) { in run_tests() 332 run = test_cases[i].run_client; in run_tests() 334 run = test_cases[i].run_server; in run_tests() 343 void list_tests(const struct test_case *test_cases) in list_tests() argument 349 for (i = 0; test_cases[i].name; i++) in list_tests() 350 printf("%d\t%s\n", i, test_cases[i].name); in list_tests() [all …]
|
D | util.h | 44 void run_tests(const struct test_case *test_cases, 46 void list_tests(const struct test_case *test_cases); 47 void skip_test(struct test_case *test_cases, size_t test_cases_len,
|
D | vsock_test.c | 282 static struct test_case test_cases[] = { variable 424 list_tests(test_cases); in main() 427 skip_test(test_cases, ARRAY_SIZE(test_cases) - 1, in main() 452 run_tests(test_cases, &opts); in main()
|
D | vsock_diag_test.c | 427 static struct test_case test_cases[] = { variable 553 list_tests(test_cases); in main() 556 skip_test(test_cases, ARRAY_SIZE(test_cases) - 1, in main() 581 run_tests(test_cases, &opts); in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | cpu_mask.c | 36 } test_cases[] = { variable 63 for (i = 0; i < ARRAY_SIZE(test_cases); i++) { in test_cpu_mask() 65 err = parse_cpu_mask_str(test_cases[i].cpu_mask, &mask, &n); in test_cpu_mask() 66 if (test_cases[i].fails) { in test_cpu_mask() 74 validate_mask(i + 1, test_cases[i].expect, mask, n); in test_cpu_mask()
|
D | core_extern.c | 28 } test_cases[] = { variable 129 for (i = 0; i < ARRAY_SIZE(test_cases); i++) { in test_core_extern() 130 struct test_case *t = &test_cases[i]; in test_core_extern()
|
D | core_reloc.c | 449 static struct core_reloc_test_case test_cases[] = { variable 783 for (i = 0; i < ARRAY_SIZE(test_cases); i++) { in test_core_reloc() 784 test_case = &test_cases[i]; in test_core_reloc()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | rxtimestamp.c | 68 static struct test_case test_cases[] = { variable 334 config_so_flags(rcv, test_cases[test_num].sockopt); in run_test_case() 338 failed = do_recv(rcv, read_size, test_cases[test_num].expected); in run_test_case() 346 print_test_case(&test_cases[test_num]); in run_test_case() 347 if (!strict && test_cases[test_num].warn_on_fail) in run_test_case() 368 for (t = 0; t < ARRAY_SIZE(test_cases); t++) { in main() 370 print_test_case(&test_cases[t]); in main() 375 if (t >= ARRAY_SIZE(test_cases)) in main() 378 test_cases[t].enabled = true; in main() 414 for (t = 0; t < ARRAY_SIZE(test_cases); t++) { in main() [all …]
|
/kernel/linux/linux-5.10/tools/testing/kunit/ |
D | kunit_json.py | 32 test_cases = [] 41 test_cases.append(test_case) 42 sub_group["test_cases"] = test_cases
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_bpftool.py | 92 test_cases = [ 110 for tc in test_cases: 120 test_cases = [ 129 for tc in test_cases:
|
/kernel/linux/linux-5.10/lib/kunit/ |
D | kunit-example-test.c | 81 .test_cases = example_test_cases,
|
D | kunit-test.c | 103 .test_cases = kunit_try_catch_test_cases, 401 .test_cases = kunit_resource_test_cases, 413 .test_cases = kunit_log_test_cases,
|
D | string-stream-test.c | 51 .test_cases = string_stream_test_cases
|
/kernel/linux/linux-5.10/lib/ |
D | test_bits.c | 71 .test_cases = bits_test_cases,
|
D | bitfield_kunit.c | 148 .test_cases = bitfields_test_cases,
|
D | test_linear_ranges.c | 223 .test_cases = range_test_cases,
|
/kernel/linux/linux-5.10/net/mptcp/ |
D | crypto_test.c | 67 .test_cases = mptcp_crypto_test_cases,
|
D | token_test.c | 137 .test_cases = mptcp_token_test_cases,
|
/kernel/linux/linux-5.10/drivers/base/power/ |
D | qos-test.c | 115 .test_cases = pm_qos_test_cases,
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | inode-test.c | 269 .test_cases = ext4_inode_test_cases,
|
/kernel/linux/linux-5.10/kernel/ |
D | sysctl-test.c | 389 .test_cases = sysctl_test_cases,
|
/kernel/linux/linux-5.10/include/kunit/ |
D | test.h | 186 struct kunit_case *test_cases; member 319 for (test_case = suite->test_cases; test_case->run_case; test_case++)
|
/kernel/linux/linux-5.10/Documentation/dev-tools/kunit/ |
D | start.rst | 190 .test_cases = misc_example_test_cases,
|
/kernel/linux/linux-5.10/drivers/base/test/ |
D | property-entry-test.c | 472 .test_cases = property_entry_test_cases,
|