implement stdout streaming in `render_tests::Renderer` by ozkanonur · Pull Reque...
source link: https://github.com/rust-lang/rust/pull/112541
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
implement stdout streaming in render_tests::Renderer
#112541
Merged
Conversation
Member
This way, we can show the test dot characters on the console immediately, without having to wait for the entire line to finish.
Collaborator
r? @clubby789 (rustbot has picked a reviewer for you, use r? to override) |
added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
labels
changed the title
replace render_tests::try_run_test
with Builder::run
replace render_tests::try_run_test
with Builder::run
for rustdoc-gui
tests
added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.
and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
labels
Member
Author
Will keep this draft for now. I want to look into |
Thanks for looking into it in any case! |
changed the title
replace render_tests::try_run_test
with Builder::run
for rustdoc-gui
tests
implement stdout streaming in render_tests::Renderer
Member
Author
Yeap, this is much better. Could be useful for other use cases too. @rustbot ready |
removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label
added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label
Contributor
@bors r+ |
added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
labels
Contributor
But this already works that way, why change anything?
|
Not for |
Member
Author
this reads the stdout line by line |
Contributor
Ok, in that case what command didn't worked that way before? |
All of them (well at least all rustdoc test suites and |
Contributor
In my case, dots printed one by one and digits printed when dots reach right side, that's why i asked about that change. |
|
Member
Author
What is your HEAD ref? Do you have After the |
Member
Author
Hmm. By looking to the code, I don't know why it works on your side :) |
Member
Author
try |
Contributor
Ughh, under windows here multiple issues which prevents this run. Fixed some of them, but looks like |
Contributor
Ok, it print dots for |
Contributor
Test successful - checks-actions |
Collaborator
Finished benchmarking commit (b963a57): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 647.661s -> 649.999s (0.36%) |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Successfully merging this pull request may close these issues.
None yet
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK