summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2021-02-23 11:12:50 -0800
committerTom Stellard <tstellar@redhat.com>2021-02-23 11:12:50 -0800
commit1c0a0c727eaeee7d7283f9dabe861e69881764c4 (patch)
treef046b9cac9d8b7130342956319f6159af37b48f2
parent7fc6c60608e416e7f8f5c194768c6dd511449c1b (diff)
downloadllvm-1c0a0c727eaeee7d7283f9dabe861e69881764c4.tar.gz
[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
-rw-r--r--llvm/test/tools/llvm-symbolizer/output-style-inlined.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/tools/llvm-symbolizer/output-style-inlined.test b/llvm/test/tools/llvm-symbolizer/output-style-inlined.test
index 1b8e3a2f22fb..103c2afc176e 100644
--- a/llvm/test/tools/llvm-symbolizer/output-style-inlined.test
+++ b/llvm/test/tools/llvm-symbolizer/output-style-inlined.test
@@ -33,17 +33,17 @@ GNU: inctwo
## is specified, but a file doesn't exist. Check we report an error.
RUN: llvm-symbolizer --output-style=GNU --obj=%p/Inputs/not.exist 0x1 0x2 --no-inlines 2>&1 \
-RUN: | FileCheck %s --check-prefix=NOT-EXIST-GNU -DMSG=%errc_ENOENT
+RUN: | FileCheck %s --check-prefix=NOT-EXIST-GNU
RUN: llvm-symbolizer --output-style=LLVM --obj=%p/Inputs/not.exist 0x1 0x2 --no-inlines 2>&1 \
-RUN: | FileCheck %s --check-prefix=NOT-EXIST-LLVM -DMSG=%errc_ENOENT
+RUN: | FileCheck %s --check-prefix=NOT-EXIST-LLVM
-# NOT-EXIST-GNU: LLVMSymbolizer: error reading file: [[MSG]]
+# NOT-EXIST-GNU: LLVMSymbolizer: error reading file: {{[Nn]}}o such file or directory
# NOT-EXIST-GNU-NEXT: ??
# NOT-EXIST-GNU-NEXT: ??:0
# NOT-EXIST-GNU-NEXT: ??
# NOT-EXIST-GNU-NEXT: ??:0
-# NOT-EXIST-LLVM: LLVMSymbolizer: error reading file: [[MSG]]
+# NOT-EXIST-LLVM: LLVMSymbolizer: error reading file: {{[Nn]}}o such file or directory
# NOT-EXIST-LLVM-NEXT: ??
# NOT-EXIST-LLVM-NEXT: ??:0:0
# NOT-EXIST-LLVM-EMPTY: