mbox series

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

Message ID 20210817044732.3263066-1-fallentree@fb.com (mailing list archive)
Headers show
Series selftests/bpf: Improve the usability of test_progs | expand

Message

Yucong Sun Aug. 17, 2021, 4:47 a.m. UTC
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(-)