[PATCH] D142225: [memprof] Change test output redirection to enable it to run on Windows
Andrew Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 20 08:30:15 PST 2023
andrewng created this revision.
andrewng added a reviewer: snehasish.
Herald added a project: All.
andrewng requested review of this revision.
Herald added a project: LLVM.
https://reviews.llvm.org/D142225
Files:
llvm/test/tools/llvm-profdata/memprof-pic.test
Index: llvm/test/tools/llvm-profdata/memprof-pic.test
===================================================================
--- llvm/test/tools/llvm-profdata/memprof-pic.test
+++ llvm/test/tools/llvm-profdata/memprof-pic.test
@@ -36,5 +36,5 @@
env MEMPROF_OPTIONS=log_path=stdout ./pic.memprofexe > pic.memprofraw
```
-RUN: not llvm-profdata show --memory %p/Inputs/pic.memprofraw --profiled-binary %p/Inputs/pic.memprofexe -o - |& FileCheck %s
+RUN: not llvm-profdata show --memory %p/Inputs/pic.memprofraw --profiled-binary %p/Inputs/pic.memprofexe -o - 2>&1 | FileCheck %s
CHECK: Unsupported position independent code
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142225.490872.patch
Type: text/x-patch
Size: 624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230120/447c2c17/attachment.bin>
More information about the llvm-commits
mailing list