Closed
Description
Currently, when a test does crash, its output is lost. It gives bug reports like issue gh-110364 which contains no output, just an exit code :-( The problem is that run_single_test() replaces sys.stdout when --verbose3 option is used. If Python runs normally, the output is ignored on success, or display on error.
When we run a worker process, we can make this decision in the main process: ignore the output on error, or display the output on error.
Linked PRs
- gh-110367: Enhance regrtest -jN --verbose3 #110368
- gh-110367: Fix regrtest test_worker_output_on_failure() on ASAN build #110387
- gh-110367: Make regrtest --verbose3 compatible with --huntrleaks -jN #111577
- [3.12] gh-110367: Make regrtest --verbose3 compatible with --huntrleaks -jN (GH-111577) #111589
- [3.11] gh-110367: Make regrtest --verbose3 compatible with --huntrleaks -jN (GH-111577) #111590
Metadata
Metadata
Assignees
Labels
No labels