1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[libObject] Tweak expected error output from llvm-ar

llvm-svn: 351259
This commit is contained in:
Jordan Rupprecht 2019-01-15 22:03:08 +00:00
parent c6dd831c47
commit cb26f756e1
3 changed files with 3 additions and 3 deletions

View File

@ -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: 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

View File

@ -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
# 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:

View File

@ -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
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
THINEXTRACT: extracting from a thin archive is not supported