diff options
author | Joel E. Denny <jdenny.ornl@gmail.com> | 2019-10-17 14:03:06 +0000 |
---|---|---|
committer | Joel E. Denny <dennyje@ornl.gov> | 2019-10-29 15:13:53 -0400 |
commit | 7c1d536c21c7d98be350ffab8353e202c14dcc93 (patch) | |
tree | 3d0c48435c1b13ca303cc4d2164db524a8c85845 /lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py | |
parent | b163806cdc317ee160a2ce694958c088a949fa7d (diff) | |
download | bcm5719-llvm-7c1d536c21c7d98be350ffab8353e202c14dcc93.tar.gz bcm5719-llvm-7c1d536c21c7d98be350ffab8353e202c14dcc93.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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py')
0 files changed, 0 insertions, 0 deletions