test/Archive: FileCheck-ize, and remove *.toc. These may be CRLF-tolerant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120506 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2010-12-01 00:09:25 +00:00
parent 34fff59cad
commit 59534b3378
8 changed files with 21 additions and 25 deletions

View File

@ -1,4 +0,0 @@
evenlen
oddlen
very_long_bytecode_file_name.bc
IsNAN.o

View File

@ -1,5 +0,0 @@
__.SYMDEF SORTED
evenlen
oddlen
very_long_bytecode_file_name.bc
IsNAN.o

View File

@ -1,4 +0,0 @@
evenlen
oddlen
very_long_bytecode_file_name.bc
IsNAN.o

View File

@ -1,5 +1,8 @@
;This isn't really an assembly file, its just here to run the test.
;This test just makes sure that llvm-ar can generate a table of contents for
;GNU style archives
;RUN: llvm-ar t %p/GNU.a > %t1
;RUN: diff %t1 %p/GNU.toc
;RUN: llvm-ar t %p/GNU.a | FileCheck %s
;CHECK: evenlen
;CHECK-NEXT: oddlen
;CHECK-NEXT: very_long_bytecode_file_name.bc
;CHECK-NEXT: IsNAN.o

View File

@ -1,5 +1,9 @@
;This isn't really an assembly file, its just here to run the test.
;This test just makes sure that llvm-ar can generate a table of contents for
;MacOSX style archives
;RUN: llvm-ar t %p/MacOSX.a > %t1
;RUN: diff %t1 %p/MacOSX.toc
;RUN: llvm-ar t %p/MacOSX.a | FileCheck %s
;CHECK: __.SYMDEF SORTED
;CHECK-NEXT: evenlen
;CHECK-NEXT: oddlen
;CHECK-NEXT: very_long_bytecode_file_name.bc
;CHECK-NEXT: IsNAN.o

View File

@ -1,5 +1,8 @@
;This isn't really an assembly file, its just here to run the test.
;This test just makes sure that llvm-ar can generate a table of contents for
;SVR4 style archives
;RUN: llvm-ar t %p/SVR4.a > %t1
;RUN: diff %t1 %p/SVR4.toc
;RUN: llvm-ar t %p/SVR4.a | FileCheck %s
;CHECK: evenlen
;CHECK-NEXT: oddlen
;CHECK-NEXT: very_long_bytecode_file_name.bc
;CHECK-NEXT: IsNAN.o

View File

@ -1,5 +1,8 @@
;This isn't really an assembly file, its just here to run the test.
;This test just makes sure that llvm-ar can generate a table of contents for
;xpg4 style archives
;RUN: llvm-ar t %p/xpg4.a > %t1
;RUN: diff %t1 %p/xpg4.toc
;RUN: llvm-ar t %p/xpg4.a | FileCheck %s
CHECK: evenlen
CHECK-NEXT: oddlen
CHECK-NEXT: very_long_bytecode_file_name.bc
CHECK-NEXT: IsNAN.o

View File

@ -1,4 +0,0 @@
evenlen
oddlen
very_long_bytecode_file_name.bc
IsNAN.o