Home
last modified time | relevance | path

Searched refs:test_cases (Results 1 – 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/tools/perf/tests/
Ddemangle-java-test.c18 } 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/
Dutil.c295 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 …]
Dutil.h44 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,
Dvsock_test.c282 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()
Dvsock_diag_test.c427 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/
Dcpu_mask.c36 } 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()
Dcore_extern.c28 } 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()
Dcore_reloc.c449 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/
Drxtimestamp.c68 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/
Dkunit_json.py32 test_cases = []
41 test_cases.append(test_case)
42 sub_group["test_cases"] = test_cases
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_bpftool.py92 test_cases = [
110 for tc in test_cases:
120 test_cases = [
129 for tc in test_cases:
/kernel/linux/linux-5.10/lib/kunit/
Dkunit-example-test.c81 .test_cases = example_test_cases,
Dkunit-test.c103 .test_cases = kunit_try_catch_test_cases,
401 .test_cases = kunit_resource_test_cases,
413 .test_cases = kunit_log_test_cases,
Dstring-stream-test.c51 .test_cases = string_stream_test_cases
/kernel/linux/linux-5.10/lib/
Dtest_bits.c71 .test_cases = bits_test_cases,
Dbitfield_kunit.c148 .test_cases = bitfields_test_cases,
Dtest_linear_ranges.c223 .test_cases = range_test_cases,
/kernel/linux/linux-5.10/net/mptcp/
Dcrypto_test.c67 .test_cases = mptcp_crypto_test_cases,
Dtoken_test.c137 .test_cases = mptcp_token_test_cases,
/kernel/linux/linux-5.10/drivers/base/power/
Dqos-test.c115 .test_cases = pm_qos_test_cases,
/kernel/linux/linux-5.10/fs/ext4/
Dinode-test.c269 .test_cases = ext4_inode_test_cases,
/kernel/linux/linux-5.10/kernel/
Dsysctl-test.c389 .test_cases = sysctl_test_cases,
/kernel/linux/linux-5.10/include/kunit/
Dtest.h186 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/
Dstart.rst190 .test_cases = misc_example_test_cases,
/kernel/linux/linux-5.10/drivers/base/test/
Dproperty-entry-test.c472 .test_cases = property_entry_test_cases,

12