Skip to content

Commit 1c0a0c7

Browse files
committed
[12.0.0][llvm-symbolizer][test] Fix test broken after cherry-pick
See bug https://bugs.llvm.org/show_bug.cgi?id=49227. The cherry-pick 0d4f8a3f364f introduced a test failure, as the test included use of a feature that was only recently added to lit and isn't in the release branch. This patch fixes up the test to manage without this lit change. Reviewed By: tstellar, MaskRay Differential Revision: https://reviews.llvm.org/D97272
1 parent 7fc6c60 commit 1c0a0c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/test/tools/llvm-symbolizer/output-style-inlined.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ GNU: inctwo
3333
## is specified, but a file doesn't exist. Check we report an error.
3434

3535
RUN: llvm-symbolizer --output-style=GNU --obj=%p/Inputs/not.exist 0x1 0x2 --no-inlines 2>&1 \
36-
RUN: | FileCheck %s --check-prefix=NOT-EXIST-GNU -DMSG=%errc_ENOENT
36+
RUN: | FileCheck %s --check-prefix=NOT-EXIST-GNU
3737
RUN: llvm-symbolizer --output-style=LLVM --obj=%p/Inputs/not.exist 0x1 0x2 --no-inlines 2>&1 \
38-
RUN: | FileCheck %s --check-prefix=NOT-EXIST-LLVM -DMSG=%errc_ENOENT
38+
RUN: | FileCheck %s --check-prefix=NOT-EXIST-LLVM
3939

40-
# NOT-EXIST-GNU: LLVMSymbolizer: error reading file: [[MSG]]
40+
# NOT-EXIST-GNU: LLVMSymbolizer: error reading file: {{[Nn]}}o such file or directory
4141
# NOT-EXIST-GNU-NEXT: ??
4242
# NOT-EXIST-GNU-NEXT: ??:0
4343
# NOT-EXIST-GNU-NEXT: ??
4444
# NOT-EXIST-GNU-NEXT: ??:0
4545

46-
# NOT-EXIST-LLVM: LLVMSymbolizer: error reading file: [[MSG]]
46+
# NOT-EXIST-LLVM: LLVMSymbolizer: error reading file: {{[Nn]}}o such file or directory
4747
# NOT-EXIST-LLVM-NEXT: ??
4848
# NOT-EXIST-LLVM-NEXT: ??:0:0
4949
# NOT-EXIST-LLVM-EMPTY:

0 commit comments

Comments
 (0)