mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Add a test for llvm-ar's m operation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186110 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e2ff00e117
commit
3a942ac858
30
test/Object/archive-move.test
Normal file
30
test/Object/archive-move.test
Normal file
@ -0,0 +1,30 @@
|
||||
Test the 'm' operation in llvm-ar
|
||||
|
||||
REQUIRES: shell
|
||||
|
||||
RUN: cd %T
|
||||
|
||||
RUN: rm -f %t.a
|
||||
RUN: cp %p/Inputs/GNU.a %t.a
|
||||
RUN: llvm-ar m %t.a very_long_bytecode_file_name.bc
|
||||
RUN: llvm-ar t %t.a | FileCheck %s
|
||||
|
||||
RUN: rm -f %t.a
|
||||
RUN: cp %p/Inputs/MacOSX.a %t.a
|
||||
RUN: llvm-ar m %t.a very_long_bytecode_file_name.bc
|
||||
RUN: llvm-ar t %t.a | FileCheck %s
|
||||
|
||||
RUN: rm -f %t.a
|
||||
RUN: cp %p/Inputs/SVR4.a %t.a
|
||||
RUN: llvm-ar m %t.a very_long_bytecode_file_name.bc
|
||||
RUN: llvm-ar t %t.a | FileCheck %s
|
||||
|
||||
RUN: rm -f %t.a
|
||||
RUN: cp %p/Inputs/xpg4.a %t.a
|
||||
RUN: llvm-ar m %t.a very_long_bytecode_file_name.bc
|
||||
RUN: llvm-ar t %t.a | FileCheck %s
|
||||
|
||||
CHECK: evenlen
|
||||
CHECK-NEXT: oddlen
|
||||
CHECK-NEXT: IsNAN.o
|
||||
CHECK-NEXT: very_long_bytecode_file_name.bc
|
Loading…
Reference in New Issue
Block a user