Hojun-Cho 31594e4cae test/wcc/995_self_rebuild: fork-parallel the 5-tool rebuild loop
Was sequential `for (i = 0; i < 5; i++) rebuild_one(...)` at ~3:15
wall. Split into spawn_build (fork+system ww_ww build) phase and
waitpid+slurp_eq collect phase. The five tool builds now run
concurrently; wall drops from sum(builds) to max(builds).

Per-tool workdir already pid-keyed (/tmp/wwsr_<pid>_<tool>); add
build.err per workdir so concurrent diagnostics don't merge —
collect phase replays the err file on failure. 180s timeout still
inside the cd && ... && ww_ww build string.

All five tools' failure status collected before reporting, so a
multi-divergence run names every tool (not just the first).

make test wall: 4m31s → 3m17s on 8 cores. 132/132 green.
2026-05-21 16:41:03 +09:00
2026-05-10 01:24:58 +09:00
Description
No description provided
12 MiB
Languages
C 89.4%
Python 7.2%
Makefile 2.3%
Shell 0.8%
Assembly 0.3%