All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] selftests/bpf: test_progs can read test lists from file
@ 2023-04-25 22:53 Stephen Veiss
  2023-04-25 22:54 ` [PATCH bpf-next 1/2] selftests/bpf: extract insert_test from parse_test_list Stephen Veiss
  2023-04-25 22:54 ` [PATCH bpf-next 2/2] selftests/bpf: test_progs can read test lists from file Stephen Veiss
  0 siblings, 2 replies; 7+ messages in thread
From: Stephen Veiss @ 2023-04-25 22:53 UTC (permalink / raw)
  To: bpf; +Cc: Stephen Veiss

Hi,

BPF selftests have ALLOWLIST and DENYLIST files, used to control which
tests are run in CI. These files are currently parsed by a shell
script. [1]

This patchset allows those files to be specified directly on the
test_progs command line (eg, as -a @ALLOWLIST). 

This also fixes a bug in the existing test filter code causing
unnecessary duplicate top-level test filter entries to be created. 

Thanks,

Stephen

[1] https://github.com/kernel-patches/vmtest/blob/57feb460047b69f891cf4afe3cc860794a2ced17/ci/vmtest/run_selftests.sh#L21-L27

Stephen Veiss (2):
  selftests/bpf: extract insert_test from parse_test_list
  selftests/bpf: test_progs can read test lists from file

 .../selftests/bpf/prog_tests/arg_parsing.c    |  63 +++++
 tools/testing/selftests/bpf/test_progs.c      |  39 ++-
 tools/testing/selftests/bpf/testing_helpers.c | 225 ++++++++++++------
 tools/testing/selftests/bpf/testing_helpers.h |   3 +
 4 files changed, 249 insertions(+), 81 deletions(-)


base-commit: a0c109dcafb15b8bee187c49fb746779374f60f0
-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-04-26 16:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-25 22:53 [PATCH bpf-next 0/2] selftests/bpf: test_progs can read test lists from file Stephen Veiss
2023-04-25 22:54 ` [PATCH bpf-next 1/2] selftests/bpf: extract insert_test from parse_test_list Stephen Veiss
2023-04-26  3:42   ` Yonghong Song
2023-04-25 22:54 ` [PATCH bpf-next 2/2] selftests/bpf: test_progs can read test lists from file Stephen Veiss
2023-04-26  4:25   ` Yonghong Song
2023-04-26 16:10     ` Stephen Veiss
2023-04-26 16:24       ` Yonghong Song

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.