[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
Mon Jan 30 02:43:03 PST 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3133030446cb: [memprof] Change test output redirection to enable it to run on Windows (authored by andrewng).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142225/new/

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.493257.patch
Type: text/x-patch
Size: 624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230130/eab9caa1/attachment.bin>


More information about the llvm-commits mailing list