You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Preserve timeout output in the corpus checker #593
tools/check_wave_corpus.py handles timeouts differently between its two execution paths.
run_std_examples catches subprocess.TimeoutExpired, calls timeout_output(error), and includes captured output in the failure report.
The main corpus-check loop instead catches subprocess.TimeoutExpired without retaining the exception and records only:
timed out after ...s
This discards compiler stdout/stderr that was produced before the timeout, which is often the most useful information when investigating a hung compiler case.
Code evidence:
tools/check_wave_corpus.py — main corpus loop
tools/check_wave_corpus.py — run_std_examples
Acceptance:
Preserve partial stdout/stderr for timed-out corpus checks.
Reuse the existing timeout_output helper so corpus checks and runnable examples behave consistently.
Keep the concise timeout message when no partial output exists.
Add a Python regression test using a child process that writes output before timing out.
Activity
nightcityblade commentedon Sep 12, 2026
Hi, I'd like to work on this. I'll submit a PR shortly.