From 6436410e6305c9bfdd46d0dd46e74fcd79ba04e4 Mon Sep 17 00:00:00 2001 From: keptn42 Date: Sat, 31 Oct 2026 17:48:59 +0000 Subject: [PATCH] kbench: the report check reads every plugin's table, not only lib* The per-library header "N row(s) not reached" was matched as lib\w+. A plugin library such as spechub has a table of its own; its rows were counted into the library above it, and the headline sum came out six short. The pattern is \w+ now. docs/KERNELS.md lists spechub from this run. --- tests/kernel_report_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kernel_report_check.sh b/tests/kernel_report_check.sh index d2586a89..5627b9e8 100755 --- a/tests/kernel_report_check.sh +++ b/tests/kernel_report_check.sh @@ -15,7 +15,7 @@ command -v python3 >/dev/null 2>&1 || { echo " SKIP python3 not present"; exit python3 - "$REPORT" <<'PY' import re, sys lines = open(sys.argv[1]).read().split("\n") -pat = re.compile(r"`lib\w+`: (\d+) row\(s\) not reached:") +pat = re.compile(r"`\w+`: (\d+) row\(s\) not reached:") heads = [(i, m.group(1)) for i, l in enumerate(lines) if (m := pat.match(l))] bad = 0 for j, (a, claimed) in enumerate(heads):