diff options
| author | Emil Tsalapatis <[email protected]> | 2025-03-09 23:04:27 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2025-03-15 18:48:58 +0000 |
| commit | c06707ff07689b0ff026e68caabe6f2a85f40caf (patch) | |
| tree | 076151a520eb08dc30d9748cf5a9c2d911afd3f7 /tools/bpf/bpftool/prog.c | |
| parent | bpf: fix missing kdoc string fields in cpumask.c (diff) | |
| download | kernel-c06707ff07689b0ff026e68caabe6f2a85f40caf.tar.gz kernel-c06707ff07689b0ff026e68caabe6f2a85f40caf.zip | |
selftests: bpf: fix duplicate selftests in cpumask_success.
The BPF cpumask selftests are currently run twice in
test_progs/cpumask.c, once by traversing cpumask_success_testcases, and
once by invoking RUN_TESTS(cpumask_success). Remove the invocation of
RUN_TESTS to properly run the selftests only once.
Now that the tests are run only through cpumask_success_testscases, add
to it the missing test_refcount_null_tracking testcase. Also remove the
__success annotation from it, since it is now loaded and invoked by the
runner.
Signed-off-by: Emil Tsalapatis (Meta) <[email protected]>
Acked-by: Hou Tao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
