Author: Tom Stellard Date: 2021-02-23T11:12:50-08:00 New Revision: 1c0a0c727eaeee7d7283f9dabe861e69881764c4
URL: https://github.com/llvm/llvm-project/commit/1c0a0c727eaeee7d7283f9dabe861e69881764c4 DIFF: https://github.com/llvm/llvm-project/commit/1c0a0c727eaeee7d7283f9dabe861e69881764c4.diff LOG: [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 Added: Modified: llvm/test/tools/llvm-symbolizer/output-style-inlined.test Removed: ################################################################################ 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: _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits