oli-obk / ui_test

A test framework for testing rustc diagnostics output
27 stars 25 forks source link

Stop tests early when Ctrl+C is pressed #262

Closed oli-obk closed 3 months ago

oli-obk commented 3 months ago

fixed #166

TODO (check if already done)

Under some rare racy conditions sub-processes (like run tests) do not get cancelled. I think this is if Ctrl+C is pressed while the process is being started. If the subprocess is already running, it will get cancelled immediately. Probably unavoidable, but also not too common or problematic.