-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nextest-runner] support pressing
t
to dump current test info (#1911)
In prior work (#1938) we enabled the `SIGUSR1` and `SIGINFO` handlers to dump internal state to standard output. However, those handlers aren't present on all platforms. * `SIGINFO` doesn't exist on Linux. `SIGUSR1` exists but is hard to send signals over (have to use `kill`, nothing like `^T`). * Windows' very basic signal handling mechanism isn't really up to the task. As an alternative, allow these platforms to specify `t` to dump current test information to the interactive terminal. It would also be interesting to support a Unix domain socket as a way to query current state in the future, and have a separate instance of nextest be able to connect to the socket -- this work naturally builds towards that kind of model.
- Loading branch information
1 parent
1833ee8
commit e2f5950
Showing
11 changed files
with
557 additions
and
32 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.