Merge Archive/extract* tests into one; this avoids a race when tests are run in

parallel (the test should really use temps for the output, though).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81287 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2009-09-08 23:44:24 +00:00
parent 543d57352c
commit cada5c5937
5 changed files with 16 additions and 23 deletions

16
test/Archive/extract.ll Normal file
View File

@ -0,0 +1,16 @@
; This isn't really an assembly file, its just here to run the test.
; This test just makes sure that llvm-ar can extract bytecode members
; from various style archives.
; RUN: llvm-ar x %p/GNU.a very_long_bytecode_file_name.bc
; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null
; RUN: llvm-ar x %p/MacOSX.a very_long_bytecode_file_name.bc
; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc > /dev/null 2>/dev/null
; RUN: llvm-ar x %p/SVR4.a very_long_bytecode_file_name.bc
; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null
; RUN: llvm-ar x %p/xpg4.a very_long_bytecode_file_name.bc
; RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null

View File

@ -1,5 +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 extract bytecode members
;from GNU style archives
;RUN: llvm-ar x %p/GNU.a very_long_bytecode_file_name.bc
;RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null

View File

@ -1,6 +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 extract bytecode members
;from MacOSX style archives
;RUN: llvm-ar x %p/MacOSX.a very_long_bytecode_file_name.bc
;RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc > /dev/null 2>/dev/null

View File

@ -1,6 +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 extract bytecode members
;from SVR4 style archives
;RUN: llvm-ar x %p/SVR4.a very_long_bytecode_file_name.bc
;RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null

View File

@ -1,6 +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 extract bytecode members
;from xpg4 style archives
;RUN: llvm-ar x %p/xpg4.a very_long_bytecode_file_name.bc
;RUN: diff %p/very_long_bytecode_file_name.bc very_long_bytecode_file_name.bc >/dev/null 2>/dev/null