-
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nextest-runner] make the runner loop own the test output buffers
Currently, when collecting output from tests, the corresponding futures own the buffers into which output is being collected. While this works for simpler use cases, we'd like to be able to dump in-progress output to the terminal in the future. To enable this use case, use the "externalized progress" pattern pioneered by APIs like Tokio's `AsyncReadExt::read_buf`: maintain an external set of buffers to accumulate output into called `ChildOutputMut`, and write into them within the corresponding select loops. In the future, on receiving an instruction to get the current standard output/standard error, the select statement would be able to look at these buffers and return whatever's currently in them. Also do some general cleanup of comments and error reporting.
- Loading branch information
1 parent
351e914
commit f1966f7
Showing
16 changed files
with
557 additions
and
370 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
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.