mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-01 10:02:42 +00:00
test: adjust the test for the BSD format
The padding for ld64 changes the header to include the padding. Adjust the test to account for this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294619 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
909a321521
commit
4c5e9062fd
@ -37,11 +37,16 @@
|
||||
; RUN: rm -f very_long_bytecode_file_name.bc
|
||||
; RUN: llvm-ar xo %p/Inputs/GNU.a very_long_bytecode_file_name.bc
|
||||
; RUN: rm -f %t.a
|
||||
; RUN: llvm-ar rcU %t.a very_long_bytecode_file_name.bc
|
||||
; RUN: env TZ=GMT llvm-ar tv %t.a | FileCheck %s
|
||||
; RUN: llvm-ar -format gnu rcU %t.a very_long_bytecode_file_name.bc
|
||||
; RUN: env TZ=GMT llvm-ar tv %t.a | FileCheck %s -check-prefix CHECK-GNU
|
||||
|
||||
CHECK: 1465 2004-11-19 03:01:31.000000000 very_long_bytecode_file_name.bc
|
||||
CHECK-GNU: 1465 2004-11-19 03:01:31.000000000 very_long_bytecode_file_name.bc
|
||||
|
||||
; RUN: rm -f %t.a
|
||||
; RUN: llvm-ar -format bsd rcU %t.a very_long_bytecode_file_name.bc
|
||||
; RUN: env TZ=GMT llvm-ar tv %t.a | FileCheck %s -check-prefix CHECK-BSD
|
||||
|
||||
CHECK-BSD: 1472 2004-11-19 03:01:31.000000000 very_long_bytecode_file_name.bc
|
||||
|
||||
RUN: not llvm-ar x %p/Inputs/GNU.a foo.o 2>&1 | FileCheck --check-prefix=NOTFOUND %s
|
||||
NOTFOUND: foo.o was not found
|
||||
|
Loading…
x
Reference in New Issue
Block a user