mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +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:
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
|
Reference in New Issue
Block a user