[llvm-cxxfilt][NFC] Fix test for running in Windows cmd
The test llvm\test\tools\llvm-cxxfilt\delimiters.test started failling when run from cmd.exe on Windows after D110986 which added a unicode character (⦙) to it. Piping the unicode character in cmd.exe causes it to be converted to a '?'. That causes the test to fail because the llvm-cxxfilt output becomes Foo?Bar rather than the expected Foo⦙Bar. Redirect the echo output to and from a temporary file to get around this problem. It's not entirely clear what the root cause is, but two separate downstream builders are tripping up on this, so we are landing the work around for the time being. Differential Revision: https://reviews.llvm.org/D111072
Loading
Please register or sign in to comment