mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-17 02:38:16 +00:00
Add a test for llvm-ar's 'd' operation.
llvm-svn: 186082
This commit is contained in:
parent
3395d4e371
commit
d7f85dd49b
30
test/Object/archive-delete.test
Normal file
30
test/Object/archive-delete.test
Normal file
@ -0,0 +1,30 @@
|
||||
Test the 'd' operation in llvm-ar
|
||||
|
||||
REQUIRES: shell
|
||||
|
||||
RUN: cd %T
|
||||
|
||||
RUN: rm -f test.a
|
||||
RUN: cp %p/Inputs/GNU.a test.a
|
||||
RUN: llvm-ar d test.a very_long_bytecode_file_name.bc
|
||||
RUN: llvm-ar t test.a | FileCheck %s
|
||||
|
||||
RUN: rm -f test.a
|
||||
RUN: cp %p/Inputs/MacOSX.a test.a
|
||||
RUN: llvm-ar d test.a very_long_bytecode_file_name.bc
|
||||
RUN: llvm-ar t test.a | FileCheck %s
|
||||
|
||||
RUN: rm -f test.a
|
||||
RUN: cp %p/Inputs/SVR4.a test.a
|
||||
RUN: llvm-ar d test.a very_long_bytecode_file_name.bc
|
||||
RUN: llvm-ar t test.a | FileCheck %s
|
||||
|
||||
RUN: rm -f test.a
|
||||
RUN: cp %p/Inputs/xpg4.a test.a
|
||||
RUN: llvm-ar d test.a very_long_bytecode_file_name.bc
|
||||
RUN: llvm-ar t test.a | FileCheck %s
|
||||
|
||||
|
||||
CHECK: evenlen
|
||||
CHECK-NEXT: oddlen
|
||||
CHECK-NEXT: IsNAN.o
|
Loading…
x
Reference in New Issue
Block a user