Skip to content

Commit b932db0

Browse files
committed
[llvm-objcopy,test] Prepend error: to some messages
1 parent 49a4ec2 commit b932db0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

llvm/test/tools/llvm-objcopy/ELF/discard-locals-rel.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# RUN: yaml2obj %s -o %t
2-
# RUN: not llvm-objcopy --discard-locals %t %t2 2>&1 | FileCheck %s
2+
# RUN: not llvm-objcopy --discard-locals %t %t2 2>&1 | FileCheck %s -DFILE=%t
33

44
!ELF
55
FileHeader:
@@ -23,4 +23,4 @@ Symbols:
2323
Type: STT_FUNC
2424
Section: .text
2525

26-
# CHECK: not stripping symbol '.L.rel' because it is named in a relocation
26+
# CHECK: error: '[[FILE]]': not stripping symbol '.L.rel' because it is named in a relocation

llvm/test/tools/llvm-objcopy/ELF/strip-reloc-symbol.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# RUN: yaml2obj %s -o %t
2-
# RUN: not llvm-objcopy -N foo %t %t2 2>&1 | FileCheck %s
2+
# RUN: not llvm-objcopy -N foo %t %t2 2>&1 | FileCheck %s -DFILE=%t
33

44
!ELF
55
FileHeader:
@@ -28,4 +28,4 @@ Symbols:
2828
Value: 0x1000
2929
Size: 8
3030

31-
# CHECK: not stripping symbol 'foo' because it is named in a relocation
31+
# CHECK: error: '[[FILE]]': not stripping symbol 'foo' because it is named in a relocation

0 commit comments

Comments
 (0)