mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
[libObject] Tweak expected error output from llvm-ar
llvm-svn: 351259
This commit is contained in:
parent
c6dd831c47
commit
cb26f756e1
@ -13,5 +13,5 @@ RUN: rm -f %t.foo.a
|
|||||||
RUN: llvm-ar r %t.foo.a %t 2>&1 | FileCheck --check-prefix=CREATE %s
|
RUN: llvm-ar r %t.foo.a %t 2>&1 | FileCheck --check-prefix=CREATE %s
|
||||||
RUN: rm -f %t.foo.a
|
RUN: rm -f %t.foo.a
|
||||||
|
|
||||||
CHECK: llvm-ar{{(.exe|.EXE)?}}: error loading '{{[^']+}}.foo.a':
|
CHECK: llvm-ar{{(.exe|.EXE)?}}: error: error loading '{{[^']+}}.foo.a':
|
||||||
CREATE: creating {{.*}}.foo.a
|
CREATE: creating {{.*}}.foo.a
|
||||||
|
@ -3,4 +3,4 @@ Test if we get a proper error with a filename that doesn't exist
|
|||||||
RUN: not llvm-ar r %t.out.a sparkle.o %t 2>&1 | FileCheck %s
|
RUN: not llvm-ar r %t.out.a sparkle.o %t 2>&1 | FileCheck %s
|
||||||
|
|
||||||
# Don't check the message "No such file or directory".
|
# Don't check the message "No such file or directory".
|
||||||
CHECK: llvm-ar{{(.exe|.EXE)?}}: sparkle.o:
|
CHECK: llvm-ar{{(.exe|.EXE)?}}: error: sparkle.o:
|
||||||
|
@ -49,7 +49,7 @@ CHECK-GNU: 1465 Nov 19 03:01 2004 very_long_bytecode_file_name.bc
|
|||||||
CHECK-DARWIN: 1472 Nov 19 03:01 2004 very_long_bytecode_file_name.bc
|
CHECK-DARWIN: 1472 Nov 19 03:01 2004 very_long_bytecode_file_name.bc
|
||||||
|
|
||||||
RUN: not llvm-ar x %p/Inputs/GNU.a foo.o 2>&1 | FileCheck --check-prefix=NOTFOUND %s
|
RUN: not llvm-ar x %p/Inputs/GNU.a foo.o 2>&1 | FileCheck --check-prefix=NOTFOUND %s
|
||||||
NOTFOUND: foo.o was not found
|
NOTFOUND: error: 'foo.o' was not found
|
||||||
|
|
||||||
RUN: not llvm-ar x %p/Inputs/thin.a foo.o 2>&1 | FileCheck %s --check-prefix=THINEXTRACT
|
RUN: not llvm-ar x %p/Inputs/thin.a foo.o 2>&1 | FileCheck %s --check-prefix=THINEXTRACT
|
||||||
THINEXTRACT: extracting from a thin archive is not supported
|
THINEXTRACT: extracting from a thin archive is not supported
|
||||||
|
Loading…
Reference in New Issue
Block a user