summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/sample_test/TestSampleTest.py
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny.ornl@gmail.com>2019-10-17 14:02:42 +0000
committerJoel E. Denny <jdenny.ornl@gmail.com>2019-10-17 14:02:42 +0000
commit221e418f0c56d6b4a8b188fb4d8e75e21f7b0c8d (patch)
treebeef09d791c1e77e76247d203b033812c2799b1c /lldb/packages/Python/lldbsuite/test/sample_test/TestSampleTest.py
parentffe2ec51702e1bcde4b92cad46719e61813c1635 (diff)
downloadbcm5719-llvm-221e418f0c56d6b4a8b188fb4d8e75e21f7b0c8d.tar.gz
bcm5719-llvm-221e418f0c56d6b4a8b188fb4d8e75e21f7b0c8d.zip
[lit] Make internal diff work in pipelines
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 - # RUN: not diff file1 file2 | FileCheck %s ``` 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` cannot currently be used in pipelines and doesn't recognize `-` as a command-line option. To enable pipelines, this patch moves lit's `diff` implementation into an out-of-process script, similar to lit's `cat` implementation. A follow-up patch will implement `-` to mean stdin. Reviewed By: probinson, stella.stamenova Differential Revision: https://reviews.llvm.org/D66574 llvm-svn: 375114
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/sample_test/TestSampleTest.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud