-
Notifications
You must be signed in to change notification settings - Fork 13.3k
implement stdout streaming in render_tests::Renderer
#112541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
r? @clubby789 (rustbot has picked a reviewer for you, use r? to override) |
render_tests::try_run_test
with Builder::run
render_tests::try_run_test
with Builder::run
for rustdoc-gui
tests
Will keep this draft for now. I want to look into |
Thanks for looking into it in any case! |
render_tests::try_run_test
with Builder::run
for rustdoc-gui
testsrender_tests::Renderer
Yeap, this is much better. Could be useful for other use cases too. @rustbot ready |
Signed-off-by: ozkanonur <[email protected]>
@bors r+ |
But this already works that way, why change anything?
|
Not for |
rust/src/bootstrap/render_tests.rs Lines 95 to 118 in 6c966dc
this reads the stdout line by line |
Ok, in that case what command didn't worked that way before? |
All of them (well at least all rustdoc test suites and |
In my case, dots printed one by one and digits printed when dots reach right side, that's why i asked about that change. |
|
What is your HEAD ref? Do you have -- After the |
Hmm. By looking to the code, I don't know why it works on your side :) |
Still the same, dots perfectly printed one by one. |
try |
Ughh, under windows here multiple issues which prevents this run. Fixed some of them, but looks like |
Ok, it print dots for |
☀️ Test successful - checks-actions |
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)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
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%) |
This way, we can show the test dot characters on the console immediately, without having to wait for the entire line to finish.
cc @GuillaumeGomez