Reland r374390: [lit] Extend internal diff to support `-` argument
authorJoel E. Denny <jdenny.ornl@gmail.com>
Sat, 12 Oct 2019 11:57:41 +0000 (11:57 +0000)
committerJoel E. Denny <jdenny.ornl@gmail.com>
Sat, 12 Oct 2019 11:57:41 +0000 (11:57 +0000)
commit32096a86b240a8f4be64094f58162137a17f72d7
tree6b95d56a655eb24ca6e139ff1283c9ad42aa95d2
parente4f11a31927e7ca67ff54897de37ef75e31e05ff
Reland r374390: [lit] Extend internal diff to support `-` argument

To avoid breaking some tests, D66574, D68664, D67643, and D68668
landed together.  However, D68664 introduced an issue now addressed by
D68839, with which these are now all relanding.

Differential Revision: https://reviews.llvm.org/D67643

llvm-svn: 374650
llvm/utils/lit/lit/builtin_commands/diff.py
llvm/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt
llvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
llvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-7.txt [new file with mode: 0644]
llvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-8.txt [new file with mode: 0644]
llvm/utils/lit/tests/max-failures.py
llvm/utils/lit/tests/shtest-shell.py