diff options
author | Joel E. Denny <jdenny.ornl@gmail.com> | 2019-10-14 19:59:30 +0000 |
---|---|---|
committer | Joel E. Denny <jdenny.ornl@gmail.com> | 2019-10-14 19:59:30 +0000 |
commit | 7e385bd2f526cc04b4a7cc6af1f39744f304d31a (patch) | |
tree | 6c367a1cbab27456171a6bc153b41fe2aac25063 /llvm/utils/lit/tests/max-failures.py | |
parent | 2b161cd0a4f7fcb5b0328e7c32e834fec821e898 (diff) | |
download | bcm5719-llvm-7e385bd2f526cc04b4a7cc6af1f39744f304d31a.tar.gz bcm5719-llvm-7e385bd2f526cc04b4a7cc6af1f39744f304d31a.zip |
[lit] Extend internal diff to support -U
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 -U1 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 `-U` as a command-line option. This patch adds `-U`
support.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D68668
llvm-svn: 374814
Diffstat (limited to 'llvm/utils/lit/tests/max-failures.py')
-rw-r--r-- | llvm/utils/lit/tests/max-failures.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/lit/tests/max-failures.py b/llvm/utils/lit/tests/max-failures.py index cee06fa255d..7bd5c32e72e 100644 --- a/llvm/utils/lit/tests/max-failures.py +++ b/llvm/utils/lit/tests/max-failures.py @@ -8,7 +8,7 @@ # # END. -# CHECK: Failing Tests (27) +# CHECK: Failing Tests (30) # CHECK: Failing Tests (1) # CHECK: Failing Tests (2) # CHECK: error: argument --max-failures: requires positive integer, but found '0' |