oli-obk / ui_test

A test framework for testing rustc diagnostics output
27 stars 25 forks source link

Default output is excessively verbose #229

Closed xldenis closed 4 months ago

xldenis commented 6 months ago

I've started porting my tools over to ui_test, but I find the default output to be excessively verbose: it systematically dumps the diff and the full stdout / stderr, could we include a version of the Text emitter which does not dump the full file contents? My stdout files are often ~20-30kloc long but with < 100 lines of diff, which makes the default status emitter fairly useless.

oli-obk commented 6 months ago

oh, yea that makes sense. We could add a flag to the Text emitter to just not dump the full output, but only the diff