Commit 2c52cf6
fix(proof-suite): make the runner's awk POSIX-portable
`canonical-proof-suite-runner.sh` parsed the manifest with `\s` in its awk
patterns (`/^\s*\(entry$/`) — `\s` is a GNU-awk extension. Under `mawk` (the
default `awk` on Debian/Ubuntu and many CI/dev boxes) `\s` matches nothing, so
`parse_manifest` returns zero entries and the runner reports a silent
`Summary: 0/0 passing` while exiting 0 — i.e. it looks like it ran but checked
nothing.
Replace the three `\s` occurrences (two awk `(entry` matchers + one `grep -E`
status matcher) with POSIX `[[:space:]]`, which behaves identically under
mawk, gawk, and grep.
Verified with a locally-installed Rocq 9 + idris2 + agda: the runner now parses
all entries and reports `Summary: 35/37 passing` (the 2 not-passing are the
Coquelicot/mathcomp-dependent proofs whose sources are unreachable from this
host) — previously `0/0`.
https://claude.ai/code/session_018CaSgNjNURC7ocsyjYh9We1 parent d3757b8 commit 2c52cf6
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
| 315 | + | |
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
483 | | - | |
| 483 | + | |
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
| |||
0 commit comments