diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2026-10-16 00:34:10 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-10-16 00:34:10 +0000 |
| commit | 70024d04ea27a92132eb83b12911dc8de2bfad4b (patch) | |
| tree | 2977e8d7c12b7d9e99b10910eaf154f7c57cb9ae /scripts/Makefile.thinlto | |
| parent | ecc80f7631c689e23254260fcc002a342c94be92 (diff) | |
| parent | 7ebf808caa76c500d52a714f7dc39a1f4952c4d3 (diff) | |
Merge branch 'selftests-bpf-fix-prog_tests-framework-self-tests'
KaFai Wan says:
====================
selftests/bpf: Fix prog_tests framework self-tests
Three prog_tests framework self-tests fail depending on how test_progs
is invoked:
- ./test_progs -t prog_tests_framework/test_fail -v
test_prog_tests_framework:FAIL:skip_cnt_check
unexpected skip_cnt_check: actual 0 != expected 2
- ./test_progs -t prog_tests_framework_expected_msgs -v
Caught signal #11!
Stack trace:
./test_progs(crash_handler+0x38)[0x55620006fbb0]
- ./test_progs -t prog_tests_framework_compare_text -v
test_prog_tests_framework_compare_text:PASS:mismatch_rc 0 nsec
Caught signal #11!
Stack trace:
./test_progs(crash_handler+0x38)[0x564ddbfcfbb0]
Patch #1 counts the subtests that actually ran, so the skip and error
count checks no longer fail when -t or -n filters out some subtests.
Patches #2 and #3 skip the subtests that inspect the log buffer when the
output is not captured, such as with -v in non-parallel mode, instead of
crashing on a NULL log_buf.
---
====================
Link: https://patch.msgid.link/20261012140202.2754552-1-kafai.wan@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
