cargo-bisect-rustc icon indicating copy to clipboard operation
cargo-bisect-rustc copied to clipboard

feature: show output of tests

Open steffahn opened this issue 3 years ago • 4 comments
trafficstars

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.)

steffahn avatar Aug 30 '22 23:08 steffahn

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

ehuss avatar Aug 30 '22 23:08 ehuss

I’ll test that shortly…

steffahn avatar Aug 30 '22 23:08 steffahn

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.)

steffahn avatar Aug 30 '22 23:08 steffahn

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.

ehuss avatar Feb 13 '24 23:02 ehuss