1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/Archive/extract.ll
Daniel Dunbar 648d754b7b 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).

llvm-svn: 81287
2009-09-08 23:44:24 +00:00

17 lines
821 B
LLVM

; 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