Merge these tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186084 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2013-07-11 13:44:10 +00:00
parent aad52dfef9
commit 12fa02841c
5 changed files with 16 additions and 35 deletions

View File

@ -0,0 +1,16 @@
Test reading an archive created by gnu ar
RUN: llvm-ar t %p/Inputs/GNU.a | FileCheck %s
Test reading an archive createdy by Mac OS X ar
RUN: llvm-ar t %p/Inputs/MacOSX.a | FileCheck %s
Test reading an archive created on Solaris by /usr/ccs/bin/ar
RUN: llvm-ar t %p/Inputs/SVR4.a | FileCheck %s
Test reading an archive created on Solaris by /usr/xpg4/bin/ar
RUN: llvm-ar t %p/Inputs/xpg4.a | FileCheck %s
CHECK: evenlen
CHECK-NEXT: oddlen
CHECK-NEXT: very_long_bytecode_file_name.bc
CHECK-NEXT: IsNAN.o

View File

@ -1,8 +0,0 @@
;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/Inputs/GNU.a | FileCheck %s
;CHECK: evenlen
;CHECK-NEXT: oddlen
;CHECK-NEXT: very_long_bytecode_file_name.bc
;CHECK-NEXT: IsNAN.o

View File

@ -1,9 +0,0 @@
;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/Inputs/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,9 +0,0 @@
;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
;This archive was created on Solaris with /usr/ccs/bin/ar
;RUN: llvm-ar t %p/Inputs/SVR4.a | FileCheck %s
;CHECK: evenlen
;CHECK-NEXT: oddlen
;CHECK-NEXT: very_long_bytecode_file_name.bc
;CHECK-NEXT: IsNAN.o

View File

@ -1,9 +0,0 @@
;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
;This archive was created on Solaris with /usr/xpg4/bin/ar
;RUN: llvm-ar t %p/Inputs/xpg4.a | FileCheck %s
CHECK: evenlen
CHECK-NEXT: oddlen
CHECK-NEXT: very_long_bytecode_file_name.bc
CHECK-NEXT: IsNAN.o