Re: [PATCH v2 bpf-next 10/12] selftests/bpf: merge test_stub.c into testing_helpers.c

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

 



On 11/3/21 6:08 PM, Andrii Nakryiko wrote:   
> Move testing prog and object load wrappers (bpf_prog_test_load and
> bpf_test_load_program) into testing_helpers.{c,h} and get rid of
> otherwise useless test_stub.c. Make testing_helpers.c available to
> non-test_progs binaries as well.
> 
> Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx>
> ---

Acked-by: Dave Marchevsky <davemarchevsky@xxxxxx>

>  tools/testing/selftests/bpf/Makefile          | 33 +++++------
>  tools/testing/selftests/bpf/test_stub.c       | 44 ---------------
>  tools/testing/selftests/bpf/testing_helpers.c | 55 +++++++++++++++++++
>  tools/testing/selftests/bpf/testing_helpers.h |  6 ++
>  4 files changed, 78 insertions(+), 60 deletions(-)
>  delete mode 100644 tools/testing/selftests/bpf/test_stub.c

[...]



[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