Searched refs:test__start_subtest (Results 1 - 25 of 144) sorted by relevance

123456

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dprog_tests_framework.c23 if (test__start_subtest("test_good_subtest"))
33 if (test__start_subtest("test_skip_subtest")) {
37 if (test__start_subtest("test_skip_subtest")) {
47 if (test__start_subtest("test_fail_subtest")) {
H A Dtest_struct_ops_maybe_null.c42 if (test__start_subtest("maybe_null"))
44 if (test__start_subtest("maybe_null_fail"))
H A Dtimer_crash.c28 if (test__start_subtest("array"))
30 if (test__start_subtest("hash"))
H A Dtracing_failure.c33 if (test__start_subtest("bpf_spin_lock"))
35 if (test__start_subtest("bpf_spin_unlock"))
H A Dexceptions.c42 if (!test__start_subtest(#_prog)) goto _prog##_##return_val; \
122 if (test__start_subtest("non-throwing fentry -> exception_cb"))
132 if (test__start_subtest("throwing fentry -> exception_cb"))
142 if (test__start_subtest("non-throwing fexit -> exception_cb"))
152 if (test__start_subtest("throwing fexit -> exception_cb"))
162 if (test__start_subtest("throwing extension (with custom cb) -> exception_cb"))
172 if (test__start_subtest("throwing extension -> global func in exception_cb"))
182 if (test__start_subtest("throwing extension (with custom cb) -> global func in exception_cb"))
192 if (test__start_subtest("non-throwing fentry -> non-throwing subprog"))
203 if (test__start_subtest("throwin
[all...]
H A Dcgroup1_hierarchy.c107 if (test__start_subtest("test_cgroup1_hierarchy")) {
112 if (test__start_subtest("test_root_cgid")) {
118 if (test__start_subtest("test_invalid_level")) {
124 if (test__start_subtest("test_invalid_cgid")) {
129 if (test__start_subtest("test_invalid_hid")) {
136 if (test__start_subtest("test_invalid_cgrp_name")) {
142 if (test__start_subtest("test_invalid_cgrp_name2")) {
148 if (test__start_subtest("test_sleepable_prog")) {
H A Dtest_struct_ops_multi_pages.c28 if (test__start_subtest("multi_pages"))
H A Dtest_struct_ops_no_cfi.c33 if (test__start_subtest("load_bpf_test_no_cfi"))
H A Dbtf_tag.c229 if (test__start_subtest("btf_decl_tag"))
231 if (test__start_subtest("btf_type_tag"))
234 if (test__start_subtest("btf_type_tag_user_mod1"))
236 if (test__start_subtest("btf_type_tag_user_mod2"))
238 if (test__start_subtest("btf_type_tag_sys_user_vmlinux"))
241 if (test__start_subtest("btf_type_tag_percpu_mod1"))
243 if (test__start_subtest("btf_type_tag_percpu_mod2"))
245 if (test__start_subtest("btf_type_tag_percpu_vmlinux_load"))
247 if (test__start_subtest("btf_type_tag_percpu_vmlinux_helper"))
H A Dlocal_kptr_stash.c135 if (test__start_subtest("local_kptr_stash_simple"))
137 if (test__start_subtest("local_kptr_stash_plain"))
139 if (test__start_subtest("local_kptr_stash_local_with_root"))
141 if (test__start_subtest("local_kptr_stash_unstash"))
143 if (test__start_subtest("refcount_acquire_without_unstash"))
145 if (test__start_subtest("local_kptr_stash_fail"))
H A Dlog_fixup.c169 if (test__start_subtest("bad_core_relo_trunc_none"))
171 if (test__start_subtest("bad_core_relo_trunc_partial"))
173 if (test__start_subtest("bad_core_relo_trunc_full"))
175 if (test__start_subtest("bad_core_relo_subprog"))
177 if (test__start_subtest("missing_map"))
179 if (test__start_subtest("missing_kfunc"))
H A Dcgrp_local_storage.c293 if (test__start_subtest("tp_btf"))
295 if (test__start_subtest("attach_cgroup"))
297 if (test__start_subtest("recursion"))
299 if (test__start_subtest("negative"))
301 if (test__start_subtest("cgroup_iter_sleepable"))
303 if (test__start_subtest("yes_rcu_lock"))
305 if (test__start_subtest("no_rcu_lock"))
338 if (test__start_subtest("cgrp1_tp_btf"))
340 if (test__start_subtest("cgrp1_recursion"))
342 if (test__start_subtest("cgrp1_negativ
[all...]
H A Dbad_struct_ops.c63 if (test__start_subtest("invalid_prog_reuse"))
65 if (test__start_subtest("unused_program"))
H A Dtest_bpf_ma.c66 if (test__start_subtest("batch_alloc_free"))
68 if (test__start_subtest("free_through_map_free"))
70 if (test__start_subtest("batch_percpu_alloc_free"))
72 if (test__start_subtest("percpu_free_through_map_free"))
H A Drbtree.c105 if (test__start_subtest("rbtree_add_nodes"))
107 if (test__start_subtest("rbtree_add_and_remove"))
109 if (test__start_subtest("rbtree_first_and_remove"))
111 if (test__start_subtest("rbtree_api_release_aliasing"))
127 if (test__start_subtest("rbtree_btf_fail__" #suffix)) \
H A Dbpf_loop.c191 if (test__start_subtest("check_nr_loops"))
193 if (test__start_subtest("check_callback_fn_stop"))
195 if (test__start_subtest("check_null_callback_ctx"))
197 if (test__start_subtest("check_invalid_flags"))
199 if (test__start_subtest("check_nested_calls"))
201 if (test__start_subtest("check_non_constant_callback"))
203 if (test__start_subtest("check_stack"))
H A Dksyms_btf.c174 if (test__start_subtest("basic"))
177 if (test__start_subtest("null_check"))
180 if (test__start_subtest("weak_ksyms"))
183 if (test__start_subtest("weak_ksyms_lskel"))
186 if (test__start_subtest("write_check1"))
189 if (test__start_subtest("write_check2"))
H A Dsend_signal.c198 if (test__start_subtest("send_signal_tracepoint"))
200 if (test__start_subtest("send_signal_perf"))
202 if (test__start_subtest("send_signal_nmi"))
204 if (test__start_subtest("send_signal_tracepoint_thread"))
206 if (test__start_subtest("send_signal_perf_thread"))
208 if (test__start_subtest("send_signal_nmi_thread"))
H A Drecursive_attach.c101 if (test__start_subtest("attach"))
103 if (test__start_subtest("load"))
105 if (test__start_subtest("detach"))
H A Dtest_strncmp.c140 if (test__start_subtest("strncmp_ret"))
142 if (test__start_subtest("strncmp_bad_not_const_str_size"))
144 if (test__start_subtest("strncmp_bad_writable_target"))
146 if (test__start_subtest("strncmp_bad_not_null_term_target"))
H A Dattach_probe.c304 if (test__start_subtest("manual-default"))
306 if (test__start_subtest("manual-legacy"))
308 if (test__start_subtest("manual-perf"))
310 if (test__start_subtest("manual-link"))
313 if (test__start_subtest("auto"))
315 if (test__start_subtest("kprobe-sleepable"))
317 if (test__start_subtest("uprobe-lib"))
319 if (test__start_subtest("uprobe-sleepable"))
321 if (test__start_subtest("uprobe-ref_ctr"))
H A Dpercpu_alloc.c120 if (test__start_subtest("array"))
122 if (test__start_subtest("array_sleepable"))
124 if (test__start_subtest("cgrp_local_storage"))
126 if (test__start_subtest("failure_tests"))
H A Dcgroup_iter.c310 if (test__start_subtest("cgroup_iter__invalid_cgroup"))
312 if (test__start_subtest("cgroup_iter__invalid_cgroup_spec"))
314 if (test__start_subtest("cgroup_iter__preorder"))
316 if (test__start_subtest("cgroup_iter__postorder"))
318 if (test__start_subtest("cgroup_iter__ancestors_up_walk"))
320 if (test__start_subtest("cgroup_iter__early_termination"))
322 if (test__start_subtest("cgroup_iter__self_only"))
324 if (test__start_subtest("cgroup_iter__dead_self_only"))
326 if (test__start_subtest("cgroup_iter__self_only_css_task"))
H A Dmap_in_map.c132 if (test__start_subtest("acc_map_in_array"))
134 if (test__start_subtest("sleepable_acc_map_in_array"))
136 if (test__start_subtest("acc_map_in_htab"))
138 if (test__start_subtest("sleepable_acc_map_in_htab"))
H A Drcu_read_lock.c144 if (test__start_subtest("success"))
146 if (test__start_subtest("rcuptr_acquire"))
148 if (test__start_subtest("negative_tests_inproper_region"))
150 if (test__start_subtest("negative_tests_rcuptr_misuse"))

Completed in 194 milliseconds

123456