llvm-6502/test/Object/archive-delete.test
Rafael Espindola fc699872e3 Add a test for llvm-ar's 'd' operation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186082 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-11 13:24:27 +00:00

31 lines
688 B
Plaintext

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