Closed
Description
Currently, when a UI test fails, it prints a sort of overwhelming amount of stuff:
rust/src/tools/compiletest/src/runtest.rs
Lines 2712 to 2722 in a3c3245
I think what I would like is something like:
If the expected text is empty, just dump the actual (normalized) output, so people can copy-and-paste it if they want.
Else, just print the diff. And probably it'd be nice to strip off the "prefix" and "suffix" of unchanged lines, and just show the parts that vary (we could imagine breaking things into hunks).
Activity