rust-lang / cargo-bisect-rustc

Bisects rustc, either nightlies or CI artifacts
https://rust-lang.github.io/cargo-bisect-rustc/
Apache License 2.0
174 stars 55 forks source link

feature: show output of tests #205

Open steffahn opened 1 year ago

steffahn commented 1 year ago

I often use the --prompt option and then hold down the return key for a while because the (pre-selected) automatic analysis based on --regress or a script is correct, yet I want to see the actual output to double check that e.g. there’s no other ICE or error sneaking in or whatnot. I feel like there should be a flag for showing the output without such workarounds. (Unless I’m missing the fact that there might already be such an option.)

ehuss commented 1 year ago

-vv should show the output. Does that work for you?

steffahn commented 1 year ago

I’ll test that shortly…

steffahn commented 1 year ago

Yes it does work, thanks :-) But that should probably be better documented (or get a dedicated flag anyways, assuming that -vv might also add some other additional output that one wouldn’t need/want). (Also I didn’t quite see yet what -v does compared to no verbosity level at all.)

ehuss commented 5 months ago

Another minimum thing would be to always show the output if the "start" fails. That often happens when either you pick the wrong start point, or your test itself is broken. Either way, the output is very important.

Unfortunately the logic around capturing the output is a little complicated.