Re: [PATCH v7 4/4] selftests: bpf: fix duplicate selftests in cpumask_success.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 3/10/2025 7:04 AM, Emil Tsalapatis wrote:
> 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) <emil@xxxxxxxxxxxxxxx>

Acked-by: Hou Tao <houtao1@xxxxxxxxxx>





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux