llvm-6502/test/Object/mri-addlib.test
Rafael Espindola f6b403a753 MRI scripts: Add addlib support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220346 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-21 23:18:51 +00:00

18 lines
449 B
Plaintext

; RUN: echo create %t.a > %t.mri
; RUN: echo addlib %p/Inputs/GNU.a >> %t.mri
; RUN: echo addlib %p/Inputs/archive-test.a-gnu-minimal >> %t.mri
; RUN: echo save >> %t.mri
; RUN: echo end >> %t.mri
; RUN: llvm-ar -M < %t.mri
; RUN: llvm-ar t %t.a | FileCheck %s
; CHECK: evenlen
; CHECK-NEXT: oddlen
; CHECK-NEXT: very_long_bytecode_file_name.bc
; CHECK-NEXT: IsNAN.o
; CHECK-NEXT: test
; line_iterator is incompatible to CRLF.
; REQUIRES: shell