[PATCH] D111072: [llvm-cxxfilt][NFC] Fix test for running in Windows cmd
Orlando Cazalet-Hyams via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 5 04:10:33 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG02895eede1a9: [llvm-cxxfilt][NFC] Fix test for running in Windows cmd (authored by Orlando).
Changed prior to commit:
https://reviews.llvm.org/D111072?vs=376910&id=377148#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111072/new/
https://reviews.llvm.org/D111072
Files:
llvm/test/tools/llvm-cxxfilt/delimiters.test
Index: llvm/test/tools/llvm-cxxfilt/delimiters.test
===================================================================
--- llvm/test/tools/llvm-cxxfilt/delimiters.test
+++ llvm/test/tools/llvm-cxxfilt/delimiters.test
@@ -29,7 +29,11 @@
RUN: '_Z3Foo~,,' \
RUN: '_Z3Foo⦙_Z3Bar' \
RUN: '_Z3Foo,,_Z3Bar::_Z3Baz _Z3Foo,_Z3Bar:_Z3Baz' \
-RUN: '_Z3Foo$ ._Z3Foo' | llvm-cxxfilt -n | FileCheck %s
+COM: Piping the echo output causes '⦙' to be converted to '?' in some
+COM: builds/environments. Redirect echo output to and from %t to work
+COM: around this. See D111072.
+RUN: '_Z3Foo$ ._Z3Foo' > %t
+RUN: llvm-cxxfilt -n < %t | FileCheck %s
CHECK: ,,Foo!
CHECK: Foo"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111072.377148.patch
Type: text/x-patch
Size: 702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211005/7a55e7ba/attachment.bin>
More information about the llvm-commits
mailing list