diff options
| author | 2026-06-02 10:02:56 -0300 | |
|---|---|---|
| committer | 2026-06-05 14:20:58 -0700 | |
| commit | aeb73a9f301de4f0df7c858ea465a7a9f5d09fd7 (patch) | |
| tree | 73f69eae633cc83849f5b5c273e498f829dbb783 /tools/perf/scripts/python | |
| parent | selftests/bpf: Tolerate test file compilation failures (diff) | |
selftests/bpf: Skip tests whose objects were not built
When both run_test and run_serial_test are NULL (because the corresponding
.test.o was not compiled), mark the test as not built instead of fatally
aborting.
Report these tests as "SKIP (not built)" in per-test output and include
them in the skip count so they remain visible in CI results and JSON
output. The summary line shows the not-built count when nonzero:
Summary: 50/55 PASSED, 5 SKIPPED (3 not built), 0 FAILED
Tests filtered out by -t/-n remain invisible as before; only genuinely
unbuilt tests are surfaced.
Signed-off-by: Ricardo B. Marlière <rbm@suse.com>
Link: https://lore.kernel.org/r/20260602-selftests-bpf_misconfig-v12-7-27f898b3ba26@suse.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
