diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-05-01 15:30:02 -0700 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2023-05-01 15:30:03 -0700 |
commit | 577c34b3be6e55ade4e0391022b9a539b20d77c5 (patch) | |
tree | f289291673a8b8c12d4c3d0da4beb163fdd3671c /net/core/filter.c | |
parent | c39028b333f3a3a765c5c0b9726b8e38aedf0ba1 (diff) | |
parent | 64276f01dce85f72853617e513622b5645497d81 (diff) |
Merge branch 'selftests/bpf: test_progs can read test lists from file'
Stephen Veiss says:
====================
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.
[1] https://github.com/kernel-patches/vmtest/blob/57feb460047b69f891cf4afe3cc860794a2ced17/ci/vmtest/run_selftests.sh#L21-L27
---
v2:
- error handling style changes per reviewer comments
- fdopen return value checking in test_parse_test_list_file
v1:
https://lore.kernel.org/bpf/20230425225401.1075796-1-sveiss@meta.com/
====================
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'net/core/filter.c')
0 files changed, 0 insertions, 0 deletions