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.
This commit is contained in:
keptn42 committed 2026-11-04 22:08:53 +01:00
1 parent 7cad854f2b
commit 6436410e63
1 file changed
+1 -1
+1 -1
View File
@@ -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):