Reland r374388: [lit] Make internal diff work in pipelines
authorJoel E. Denny <jdenny.ornl@gmail.com>
Sat, 12 Oct 2019 11:56:57 +0000 (11:56 +0000)
committerJoel E. Denny <jdenny.ornl@gmail.com>
Sat, 12 Oct 2019 11:56:57 +0000 (11:56 +0000)
commitdaf42dc36dc2e1092dc6a14a4bb0bce307de58ba
tree9a269ebb3dc28342b447210b5a69a93f0b8e3b8b
parentc5d1d56731d810f99dc57fbea68826ae60027128
Reland r374388: [lit] Make internal diff work in pipelines

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/D66574

llvm-svn: 374648
llvm/utils/lit/lit/TestRunner.py
llvm/utils/lit/lit/builtin_commands/diff.py [new file with mode: 0644]
llvm/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt [deleted file]
llvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt [new file with mode: 0644]
llvm/utils/lit/tests/shtest-shell.py