[llvm] r351259 - [libObject] Tweak expected error output from llvm-ar
Jordan Rupprecht via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 15 14:03:08 PST 2019
Author: rupprecht
Date: Tue Jan 15 14:03:08 2019
New Revision: 351259
URL: http://llvm.org/viewvc/llvm-project?rev=351259&view=rev
Log:
[libObject] Tweak expected error output from llvm-ar
Modified:
llvm/trunk/test/Object/ar-create.test
llvm/trunk/test/Object/ar-error.test
llvm/trunk/test/Object/archive-extract.test
Modified: llvm/trunk/test/Object/ar-create.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/ar-create.test?rev=351259&r1=351258&r2=351259&view=diff
==============================================================================
--- llvm/trunk/test/Object/ar-create.test (original)
+++ llvm/trunk/test/Object/ar-create.test Tue Jan 15 14:03:08 2019
@@ -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
Modified: llvm/trunk/test/Object/ar-error.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/ar-error.test?rev=351259&r1=351258&r2=351259&view=diff
==============================================================================
--- llvm/trunk/test/Object/ar-error.test (original)
+++ llvm/trunk/test/Object/ar-error.test Tue Jan 15 14:03:08 2019
@@ -3,4 +3,4 @@ Test if we get a proper error with a fil
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:
Modified: llvm/trunk/test/Object/archive-extract.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/archive-extract.test?rev=351259&r1=351258&r2=351259&view=diff
==============================================================================
--- llvm/trunk/test/Object/archive-extract.test (original)
+++ llvm/trunk/test/Object/archive-extract.test Tue Jan 15 14:03:08 2019
@@ -49,7 +49,7 @@ CHECK-GNU: 1465 Nov 19 03:01 2004 very_l
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
More information about the llvm-commits
mailing list