]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Helper script for running BPF presubmit tests
authorKP Singh <kpsingh@kernel.org>
Thu, 4 Feb 2021 19:45:43 +0000 (19:45 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 5 Feb 2021 00:03:16 +0000 (16:03 -0800)
commit1b1bcef65aad5dbfa97a618f22255b45fbeba2d8
tree22cd6448525c24ea34a279cef003531db68b092a
parent643d483d7b919f9d8fcbf6dd931d5021eac828f7
bpf: Helper script for running BPF presubmit tests

The script runs the BPF selftests locally on the same kernel image
as they would run post submit in the BPF continuous integration
framework.

The goal of the script is to allow contributors to run selftests locally
in the same environment to check if their changes would end up breaking
the BPF CI and reduce the back-and-forth between the maintainers and the
developers.

Signed-off-by: KP Singh <kpsingh@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Tested-by: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/bpf/20210204194544.3383814-2-kpsingh@kernel.org
tools/testing/selftests/bpf/vmtest.sh [new file with mode: 0755]