mbox series

[bpf-next,v2,0/2] Regular expression support for test output matching

Message ID 20240606133032.265403-1-cupertino.miranda@oracle.com (mailing list archive)
Headers show
Series Regular expression support for test output matching | expand

Message

Cupertino Miranda June 6, 2024, 1:30 p.m. UTC
Hi everyone,

This is v2 on the regular expression for test output matching patches.

I believe I improved it beyond the precise requests from Andrii and
Eduard.  Hope that this version improves on all aspects requested in the
reviews and fixes all pending nits.

Tested with bpf-next selftests with no regressions.

Looking forward to your reviews.

Best regards,
Cupertino

Cupertino Miranda (2):
  selftests/bpf: Support checks against a regular expression.
  selftests/bpf: Match tests against regular expres

 tools/testing/selftests/bpf/progs/bpf_misc.h  |  11 +-
 .../testing/selftests/bpf/progs/dynptr_fail.c |   6 +-
 .../testing/selftests/bpf/progs/rbtree_fail.c |   8 +-
 .../bpf/progs/refcounted_kptr_fail.c          |   4 +-
 .../selftests/bpf/progs/verifier_sock.c       |   4 +-
 tools/testing/selftests/bpf/test_loader.c     | 143 ++++++++++++++----
 6 files changed, 132 insertions(+), 44 deletions(-)