mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
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
This commit is contained in:
parent
4c5de12759
commit
c9709f5238
1 changed files with 368 additions and 0 deletions
368
tools/testing/selftests/bpf/vmtest.sh
Executable file
368
tools/testing/selftests/bpf/vmtest.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue