mbox series

[bpf-next,v2,0/2] BPF selftest helper script

Message ID 20210123004445.299149-1-kpsingh@kernel.org (mailing list archive)
Headers show
Series BPF selftest helper script | expand

Message

KP Singh Jan. 23, 2021, 12:44 a.m. UTC
# v1 -> v2

- The script now compiles the kernel by default, and the -k option
  implies "keep the kernel"
- Pointer to the script in the docs.
- Some minor simplifications.

Allow developers and contributors to understand if their changes would
end up breaking the BPF CI and avoid the back and forth required for
fixing the test cases in the CI environment. The series also adds a
pointer in tools/testing/selftests/bpf/README.rst.

KP Singh (2):
  bpf: Helper script for running BPF presubmit tests
  bpf/selftests: Add a short note about run_in_vm.sh in README.rst

 tools/testing/selftests/bpf/README.rst   |  23 ++
 tools/testing/selftests/bpf/run_in_vm.sh | 353 +++++++++++++++++++++++
 2 files changed, 376 insertions(+)
 create mode 100755 tools/testing/selftests/bpf/run_in_vm.sh