mbox series

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

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

Message

KP Singh Feb. 4, 2021, 7:45 p.m. UTC
# v4 -> v5

- Use %Y (modification time) instead of %W (creation time) of the local
  copy of the kernel config to check for newer upstream config.
- Rename the script to vmtest.sh

# v3 -> v4

- Fix logic for updating kernel config to not download the file
  if there are no upstream modifications and avoid extraneous
  kernel compilation as suggested by Andrii.
- This also removes the need for the -k flag.

# 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 se


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

 tools/testing/selftests/bpf/README.rst |  24 ++
 tools/testing/selftests/bpf/vmtest.sh  | 368 +++++++++++++++++++++++++
 2 files changed, 392 insertions(+)
 create mode 100755 tools/testing/selftests/bpf/vmtest.sh

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 5, 2021, 12:30 a.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (refs/heads/master):

On Thu,  4 Feb 2021 19:45:42 +0000 you wrote:
> # v4 -> v5
> 
> - Use %Y (modification time) instead of %W (creation time) of the local
>   copy of the kernel config to check for newer upstream config.
> - Rename the script to vmtest.sh
> 
> # v3 -> v4
> 
> [...]

Here is the summary with links:
  - [bpf-next,v5,1/2] bpf: Helper script for running BPF presubmit tests
    https://git.kernel.org/bpf/bpf-next/c/c9709f52386d
  - [bpf-next,v5,2/2] bpf/selftests: Add a short note about vmtest.sh in README.rst
    https://git.kernel.org/bpf/bpf-next/c/881949f770bf

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html