diff options
author | Joel E. Denny <jdenny.ornl@gmail.com> | 2019-10-17 14:03:06 +0000 |
---|---|---|
committer | Joel E. Denny <jdenny.ornl@gmail.com> | 2019-10-17 14:03:06 +0000 |
commit | 849d67a70080982cc1261759015a67b06b25eb16 (patch) | |
tree | 2a6a96f47200d016924ccd93470d9cc77e9052e3 /lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py | |
parent | 221e418f0c56d6b4a8b188fb4d8e75e21f7b0c8d (diff) | |
download | bcm5719-llvm-849d67a70080982cc1261759015a67b06b25eb16.tar.gz bcm5719-llvm-849d67a70080982cc1261759015a67b06b25eb16.zip |
[lit] Extend internal diff to support `-` argument
When using lit's internal shell, RUN lines like the following
accidentally execute an external `diff` instead of lit's internal
`diff`:
```
# RUN: program | diff file -
```
Such cases exist now, in `clang/test/Analysis` for example. We are
preparing patches to ensure lit's internal `diff` is called in such
cases, which will then fail because lit's internal `diff` doesn't
recognize `-` as a command-line option. This patch adds support for
`-` to mean stdin.
Reviewed By: probinson, rnk
Differential Revision: https://reviews.llvm.org/D67643
llvm-svn: 375116
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py')
0 files changed, 0 insertions, 0 deletions