forked from OSchip/llvm-project
[MC][test] Fix non-portable GNU diff option
Summary: This patch replaces the non-portable GNU diff option `--strip-trailing-cr` with the POSIX `-b` option in two test files. Reviewers: daltenty, jasonliu Reviewed By: daltenty Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D72745
This commit is contained in:
parent
81eaa3ddd0
commit
1794158f90
|
@ -1,6 +1,6 @@
|
||||||
@RUN: llvm-mc -preserve-comments -n -triple arm-eabi < %s > %t
|
@RUN: llvm-mc -preserve-comments -n -triple arm-eabi < %s > %t
|
||||||
@RUN: sed 's/#[C]omment/@Comment/g' %s > %t2
|
@RUN: sed 's/#[C]omment/@Comment/g' %s > %t2
|
||||||
@RUN: diff --strip-trailing-cr %t %t2
|
@RUN: diff -b %t %t2
|
||||||
.text
|
.text
|
||||||
|
|
||||||
mov r0, r0
|
mov r0, r0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#RUN: llvm-mc -preserve-comments -n -triple i386-linux-gnu < %s > %t
|
#RUN: llvm-mc -preserve-comments -n -triple i386-linux-gnu < %s > %t
|
||||||
#RUN: diff --strip-trailing-cr %s %t
|
#RUN: diff -b %s %t
|
||||||
.text
|
.text
|
||||||
|
|
||||||
foo: #Comment here
|
foo: #Comment here
|
||||||
|
|
Loading…
Reference in New Issue