The new behavior of interrupting the longest running test with Ctrl-C is useful when tests hang, but not when the run is completely broken for some reason. Psychology tells us that the user will compulsively spam Ctrl-C in this case, so exit if three Ctrl-C's are detected within a second.pull/7822/merge
parent
f13b2b4b1d
commit
ea2f34e286
2 changed files with 22 additions and 5 deletions
@ -0,0 +1,5 @@ |
||||
## Ctrl-C behavior in `meson test` |
||||
|
||||
Starting from this version, sending a `SIGINT` signal (or pressing `Ctrl-C`) |
||||
to `meson test` will interrupt the longest running test. Pressing `Ctrl-C` |
||||
three times within a second will exit `meson test`. |
Loading…
Reference in new issue