diff options
| author | KaFai Wan <kafai.wan@linux.dev> | 2026-10-12 22:01:59 +0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-10-16 00:34:10 +0000 |
| commit | c87652656a55e5e8cf994364314a75fa95fb2d69 (patch) | |
| tree | 4141f760d9e78e9b04734780ae29f56a669bf6d7 /tools/testing/ktest | |
| parent | ecc80f7631c689e23254260fcc002a342c94be92 (diff) | |
selftests/bpf: Fix prog_tests framework subtest count checks
The hardcoded expected skip_cnt/error_cnt in test_prog_tests_framework()
mismatch the real count when the binary is run with -t or -n filters,
since some subtests are not selected. Count the executed subtests and
compare against that value instead.
Fixes: 2324257dbd68 ("selftests/bpf: Refactor prog_tests logging and test execution")
Signed-off-by: KaFai Wan <kafai.wan@linux.dev>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://patch.msgid.link/20261012140202.2754552-2-kafai.wan@linux.dev
Diffstat (limited to 'tools/testing/ktest')
0 files changed, 0 insertions, 0 deletions
