Skip to content

selftests/bpf: Improve the usability of test_progs

Yucong Sun bpf 5 versions – Applied

Status from this message: Applied to bpf-next, thanks a lot for the improvements.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 1 replyApplied
  2. v44 patches 3 repliesSuperseded
  3. v34 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches8 repliesSuperseded
v15 patches2 repliesSuperseded

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/4selftests/bpf: skip loading bpf_testmod when using -l to list tests.tools/testing/selftests/bpf/test_progs.c+2 -20 replies
2/4selftests/bpf: correctly display subtest skip statustools/testing/selftests/bpf/test_progs.c+13 -120 replies
3/4selftests/bpf: also print test name in subtest status messagetools/testing/selftests/bpf/test_progs.c+2 -20 replies
4/4selftests/bpf: Support glob matching for test selector.tools/testing/selftests/bpf/test_progs.c+58 -141 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 bpf-next 0/4] selftests/bpf: Improve the usability of test_progs

This short series adds two new "-a", "-d" switch to test_progs, supporting exact string match, as well as '*' wildcard. It also cleans up the output to make it possible to generate allowlist/denylist using common cli tools.

Yucong Sun (4):
selftests/bpf: skip loading bpf_testmod when using -l to list tests. selftests/bpf: correctly display subtest skip status selftests/bpf: also print test name in subtest status message selftests/bpf: Support glob matching for test selector.

 tools/testing/selftests/bpf/test_progs.c | 101 ++++++++++++++++-------
 1 file changed, 73 insertions(+), 28 deletions(-)
Signature · 1 line
2.30.2