diff options
| author | Fangrui Song <maskray@google.com> | 2019-07-17 13:40:42 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2019-07-17 13:40:42 +0000 |
| commit | 62069ac310654f464e65d98e92d33d16faa738ee (patch) | |
| tree | 5d02efff02bcc8228f47dc51ce422fe90a424db4 /llvm/test/tools/llvm-ar/mri-comments.test | |
| parent | 70235c642e66bdf4900aabd541fa9a1548f72d0e (diff) | |
| download | bcm5719-llvm-62069ac310654f464e65d98e92d33d16faa738ee.tar.gz bcm5719-llvm-62069ac310654f464e65d98e92d33d16faa738ee.zip | |
[llvm-ar][test] \r\n -> \n
Also simplify some empty output tests with 'count 0'
llvm-svn: 366324
Diffstat (limited to 'llvm/test/tools/llvm-ar/mri-comments.test')
| -rw-r--r-- | llvm/test/tools/llvm-ar/mri-comments.test | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/llvm/test/tools/llvm-ar/mri-comments.test b/llvm/test/tools/llvm-ar/mri-comments.test index f5fa61768ae..aac62dc00e6 100644 --- a/llvm/test/tools/llvm-ar/mri-comments.test +++ b/llvm/test/tools/llvm-ar/mri-comments.test @@ -1,19 +1,19 @@ -# Test different MRI comment formats and white space.
-
-RUN: rm -rf %t && mkdir -p %t
-RUN: yaml2obj %S/Inputs/elf.yaml -o %t/elf.o
-
-RUN: echo "create %t/mri.ar;comment" > %t/script.mri
-RUN: echo "addmod %t/elf.o * comment" >> %t/script.mri
-RUN: echo "; comment" >> %t/script.mri
-RUN: echo " ;comment" >> %t/script.mri
-RUN: echo "* comment" >> %t/script.mri
-RUN: echo " *comment" >> %t/script.mri
-RUN: echo "" >> %t/script.mri
-RUN: echo " " >> %t/script.mri
-RUN: echo " save" >> %t/script.mri
-
-RUN: llvm-ar -M < %t/script.mri
-RUN: llvm-ar t %t/mri.ar | FileCheck %s
-
-CHECK: elf.o
+# Test different MRI comment formats and white space. + +RUN: rm -rf %t && mkdir -p %t +RUN: yaml2obj %S/Inputs/elf.yaml -o %t/elf.o + +RUN: echo "create %t/mri.ar;comment" > %t/script.mri +RUN: echo "addmod %t/elf.o * comment" >> %t/script.mri +RUN: echo "; comment" >> %t/script.mri +RUN: echo " ;comment" >> %t/script.mri +RUN: echo "* comment" >> %t/script.mri +RUN: echo " *comment" >> %t/script.mri +RUN: echo "" >> %t/script.mri +RUN: echo " " >> %t/script.mri +RUN: echo " save" >> %t/script.mri + +RUN: llvm-ar -M < %t/script.mri +RUN: llvm-ar t %t/mri.ar | FileCheck %s + +CHECK: elf.o |

