Home
last modified time | relevance | path

Searched refs:subtest (Results 1 – 25 of 91) sorted by relevance

1234

/linux-6.1.9/lib/
Dtest_string.c216 int test, subtest; in string_selftest_init() local
219 subtest = memset16_selftest(); in string_selftest_init()
220 if (subtest) in string_selftest_init()
224 subtest = memset32_selftest(); in string_selftest_init()
225 if (subtest) in string_selftest_init()
229 subtest = memset64_selftest(); in string_selftest_init()
230 if (subtest) in string_selftest_init()
234 subtest = strchr_selftest(); in string_selftest_init()
235 if (subtest) in string_selftest_init()
239 subtest = strnchr_selftest(); in string_selftest_init()
[all …]
/linux-6.1.9/tools/perf/arch/x86/include/
Darch-tests.h8 int test__rdpmc(struct test_suite *test, int subtest);
9 int test__insn_x86(struct test_suite *test, int subtest);
10 int test__intel_pt_pkt_decoder(struct test_suite *test, int subtest);
11 int test__bp_modify(struct test_suite *test, int subtest);
12 int test__x86_sample_parsing(struct test_suite *test, int subtest);
/linux-6.1.9/tools/perf/tests/
Dbuiltin-test.c140 static const char *skip_reason(const struct test_suite *t, int subtest) in skip_reason() argument
145 return t->test_cases[subtest >= 0 ? subtest : 0].skip_reason; in skip_reason()
148 static const char *test_description(const struct test_suite *t, int subtest) in test_description() argument
150 if (t->test_cases && subtest >= 0) in test_description()
151 return t->test_cases[subtest].desc; in test_description()
156 static test_fnptr test_function(const struct test_suite *t, int subtest) in test_function() argument
158 if (subtest <= 0) in test_function()
161 return t->test_cases[subtest].run_case; in test_function()
188 static int run_test(struct test_suite *test, int subtest) in run_test() argument
220 err = test_function(test, subtest)(test, subtest); in run_test()
[all …]
Dllvm.c127 static int test__llvm(int subtest) in test__llvm() argument
134 if ((subtest < 0) || (subtest >= __LLVM_TESTCASE_MAX)) in test__llvm()
138 subtest, false, &should_load_fail); in test__llvm()
144 bpf_source_table[subtest].desc); in test__llvm()
154 int subtest __maybe_unused) in test__llvm__bpf_base_prog()
165 int subtest __maybe_unused) in test__llvm__bpf_test_kbuild_prog()
176 int subtest __maybe_unused) in test__llvm__bpf_test_prologue_prog()
187 int subtest __maybe_unused) in test__llvm__bpf_test_relocation()
Dwp.c70 int subtest __maybe_unused) in test__wp_ro()
94 int subtest __maybe_unused) in test__wp_wo()
118 int subtest __maybe_unused) in test__wp_rw()
142 static int test__wp_modify(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__wp_modify()
165 test->test_cases[subtest].skip_reason = "missing kernel support"; in test__wp_modify()
Dpfm.c27 int subtest __maybe_unused) in test__pfm_events()
88 int subtest __maybe_unused) in test__pfm_group()
173 int subtest __maybe_unused) in test__pfm_events()
179 int subtest __maybe_unused) in test__pfm_group()
Dclang.c8 int subtest __maybe_unused) in test__clang_to_IR()
14 int subtest __maybe_unused) in test__clang_to_obj()
Dstat.c51 int subtest __maybe_unused) in test__synthesize_stat_config()
81 static int test__synthesize_stat(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__synthesize_stat()
108 static int test__synthesize_stat_round(struct test_suite *test __maybe_unused, int subtest __maybe_… in test__synthesize_stat_round()
Dthread-map.c22 static int test__thread_map(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__thread_map()
89 static int test__thread_map_synthesize(struct test_suite *test __maybe_unused, int subtest __maybe_… in test__thread_map_synthesize()
109 static int test__thread_map_remove(struct test_suite *test __maybe_unused, int subtest __maybe_unus… in test__thread_map_remove()
Dpe-file-parsing.c72 int subtest __maybe_unused) in test__pe_file_parsing()
93 int subtest __maybe_unused) in test__pe_file_parsing()
Dcpumap.c103 static int test__cpu_map_synthesize(struct test_suite *test __maybe_unused, int subtest __maybe_unu… in test__cpu_map_synthesize()
147 static int test__cpu_map_print(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_print()
159 static int test__cpu_map_merge(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_merge()
Dmmap-basic.c30 static int test__basic_mmap(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__basic_mmap()
268 int subtest __maybe_unused) in test__mmap_user_read_instr()
274 int subtest __maybe_unused) in test__mmap_user_read_cycles()
Dbpf.c331 int subtest __maybe_unused) in test__basic_bpf_test()
342 int subtest __maybe_unused) in test__bpf_pinning()
353 int subtest __maybe_unused) in test__bpf_prologue_test()
Ddso-data.c116 static int test__dso_data(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__dso_data()
251 static int test__dso_data_cache(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__dso_data_cache()
321 static int test__dso_data_reopen(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__dso_data_reopen()
Dfdarray.c31 static int test__fdarray__filter(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__fdarray__filter()
92 static int test__fdarray__add(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__fdarray__add()
Dpython-use.c12 static int test__python_use(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__python_use()
Dperf-time-to-tsc.c49 int subtest __maybe_unused) in test__tsc_is_supported()
67 static int test__perf_time_to_tsc(struct test_suite *test __maybe_unused, int subtest __maybe_unuse… in test__perf_time_to_tsc()
Dgenelf.c20 int subtest __maybe_unused) in test__jit_write_elf()
/linux-6.1.9/tools/testing/kunit/
Dkunit_json.py34 for subtest in test.subtests:
35 if subtest.subtests:
36 sub_group = _get_group_json(subtest, common_fields)
39 status = _status_map.get(subtest.status, "FAIL")
40 test_cases.append({"name": subtest.name, "status": status})
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dconnect_ping.c20 static void subtest(int cgroup_fd, struct connect_ping *skel, in subtest() function
147 subtest(cgroup_fd, skel, AF_INET, 0); in test_connect_ping()
154 subtest(cgroup_fd, skel, AF_INET, 1); in test_connect_ping()
161 subtest(cgroup_fd, skel, AF_INET6, 0); in test_connect_ping()
168 subtest(cgroup_fd, skel, AF_INET6, 1); in test_connect_ping()
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/
Dsch_red_core.sh579 local subtest=$1; shift
592 qevent_rule_install_$subtest
606 check_err_fail "$should_fail" $? "ECN-marked packets $subtest'd"
609 qevent_rule_uninstall_$subtest
615 log_test "TC $((vlan - 10)): marked packets not $subtest'd"
617 log_test "TC $((vlan - 10)): marked packets $subtest'd"
629 local subtest=$1; shift
641 qevent_rule_install_$subtest
665 qevent_rule_uninstall_$subtest
670 log_test "TC $((vlan - 10)): ${trigger}ped packets $subtest'd"
/linux-6.1.9/drivers/dma-buf/
Dselftest.h16 struct subtest { struct
22 const struct subtest *st, argument
/linux-6.1.9/tools/perf/util/c++/
Dclang-c.h16 extern int test__clang_to_IR(struct test_suite *test, int subtest);
17 extern int test__clang_to_obj(struct test_suite *test, int subtest);
Dclang-test.cpp39 int subtest __maybe_unused) in test__clang_to_IR()
53 int subtest __maybe_unused) in test__clang_to_obj()
/linux-6.1.9/tools/perf/arch/arm/tests/
Dvectors-page.c12 static int test__vectors_page(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__vectors_page()

1234