summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny.ornl@gmail.com>2019-10-17 14:03:06 +0000
committerJoel E. Denny <jdenny.ornl@gmail.com>2019-10-17 14:03:06 +0000
commit849d67a70080982cc1261759015a67b06b25eb16 (patch)
tree2a6a96f47200d016924ccd93470d9cc77e9052e3 /lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
parent221e418f0c56d6b4a8b188fb4d8e75e21f7b0c8d (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud