HomePhabricator

[lit] Fix internal diff newlines for -w/-b

Authored by jdenny on Dec 17 2019, 7:23 AM.

Description

[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

Details

Committed
jdennyDec 17 2019, 7:49 AM
Reviewer
rnk
Differential Revision
D71577: [lit] Fix internal diff newlines for -w/-b
Parents
rGfbaf835c5c51: [AArch64] add tests for fcvtl2; NFC
Branches
Unknown
Tags
Unknown