Skip to content

Commit 40df0f1

Browse files
committed
Auto merge of #9589 - ehuss:testsuite-diff, r=alexcrichton
Enhancements to testsuite error output. This includes several changes to the testsuite error reporting in theory to help make it easier to see differences when the test output changes. The key change is to add a Myers diff with a little colored output to highlight the differences. Here is an example: <img width="666" alt="image" src="https://user-images.githubusercontent.com/43198/122311381-e8d43580-cec6-11eb-81b4-e2675f10d6ba.png"> The rest of the changes here are various refactorings to try to clean up the diffing code. It ended up being far more changes than I was intending, but I did try to split things into commits to separate them.
2 parents 211d00e + 16b5402 commit 40df0f1

21 files changed

+976
-859
lines changed

crates/cargo-test-support/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ filetime = "0.2"
1616
flate2 = { version = "1.0", default-features = false, features = ["zlib"] }
1717
git2 = "0.13.16"
1818
glob = "0.3"
19+
itertools = "0.10.0"
1920
lazy_static = "1.0"
2021
remove_dir_all = "0.5"
2122
serde_json = "1.0"
2223
tar = { version = "0.4.18", default-features = false }
24+
termcolor = "1.1.2"
2325
toml = "0.5.7"
2426
url = "2.2.2"

0 commit comments

Comments
 (0)