diff options
author | Joel E. Denny <jdenny.ornl@gmail.com> | 2019-12-17 10:23:11 -0500 |
---|---|---|
committer | Joel E. Denny <jdenny.ornl@gmail.com> | 2019-12-17 10:49:34 -0500 |
commit | 9658e77e27fa2a93667f840d230086d783fed6dc (patch) | |
tree | 317dc5a1d7e4a289df48635f87c76179d5257036 /llvm/utils/lit/tests/max-failures.py | |
parent | fbaf835c5c515bf00dccd880b8afe0b2e0a10e06 (diff) | |
download | bcm5719-llvm-9658e77e27fa2a93667f840d230086d783fed6dc.tar.gz bcm5719-llvm-9658e77e27fa2a93667f840d230086d783fed6dc.zip |
[lit] Fix internal diff newlines for -w/-b
For example, without this patch:
```
$ python $LIT_BUILTINS/diff.py -b foo.txt bar.txt
*** /tmp/foo.txt
--- /tmp/bar.txt
***************
*** 1,2 ****
1! 2--- 1,2 ----
1! 20
```
With this patch:
```
$ python $LIT_BUILTINS/diff.py -b foo.txt bar.txt
*** /tmp/foo.txt
--- /tmp/bar.txt
***************
*** 1,2 ****
1
! 2
--- 1,2 ----
1
! 20
```
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D71577
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 f661980ac2b..267d7eec324 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 (33) +# CHECK: Failing Tests (35) # CHECK: Failing Tests (1) # CHECK: Failing Tests (2) # CHECK: error: argument --max-failures: requires positive integer, but found '0' |