mbox series

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

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

Message

KP Singh Feb. 1, 2021, 12:50 a.m. UTC
# v2 -> v3

- Fixes to silence verbose commands
- Fixed output buffering without being teed out
- Fixed the clobbered error code of the script
- Other fixes suggested by Andrii

# 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   |  24 ++
 tools/testing/selftests/bpf/run_in_vm.sh | 356 +++++++++++++++++++++++
 2 files changed, 380 insertions(+)
 create mode 100755 tools/testing/selftests/bpf/run_in_vm.sh