diff options
| author | d7ommy <abnalstlll@gmail.com> | 2026-11-25 19:11:41 +0300 |
|---|---|---|
| committer | d7ommy <abnalstlll@gmail.com> | 2026-11-25 19:11:41 +0300 |
| commit | 542c046c503af54cf6b29436eff4877f4edb7de4 (patch) | |
| tree | 4521a65cc65b72d0fab1cf8bd372f869045c18b9 /runtime/test/cpp_unwind_test.cpp | |
| parent | b0f3d3998f0401eb7df8ddbb7a303d1e6bee9fb8 (diff) | |
run_semantic_tests: stop active subprocesses and cancel queued modules on interrupt (SEMANTIC-RUNNER-INTERRUPT)
Catch KeyboardInterrupt in run_semantic_tests.py, cancelling queued test modules via pool.shutdown(wait=False, cancel_futures=True) and terminating active child subprocesses so that no orphaned zombie processes or queued modules run after Ctrl+C. In serial mode (-j 1), terminate the discover subprocess on interrupt.
Return exit code 130 and output 'interrupted' to stderr without printing a false success summary.
Adds regression and lifecycle tests in tests/test_run_semantic_tests.py.
AI-assisted (Claude Code)
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions