[llvm] 3133030 - [memprof] Change test output redirection to enable it to run on Windows
Andrew Ng via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 30 02:43:00 PST 2023
Author: Andrew Ng
Date: 2023-01-30T10:40:58Z
New Revision: 3133030446cb6c33a7a5a4a8a946149271e0b2a5
URL: https://github.com/llvm/llvm-project/commit/3133030446cb6c33a7a5a4a8a946149271e0b2a5
DIFF: https://github.com/llvm/llvm-project/commit/3133030446cb6c33a7a5a4a8a946149271e0b2a5.diff
LOG: [memprof] Change test output redirection to enable it to run on Windows
Differential Revision: https://reviews.llvm.org/D142225
Added:
Modified:
llvm/test/tools/llvm-profdata/memprof-pic.test
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-profdata/memprof-pic.test b/llvm/test/tools/llvm-profdata/memprof-pic.test
index 1df263715bd91..f993c441ceaa5 100644
--- a/llvm/test/tools/llvm-profdata/memprof-pic.test
+++ b/llvm/test/tools/llvm-profdata/memprof-pic.test
@@ -36,5 +36,5 @@ clang -fuse-ld=lld -Wl,--no-rosegment -gmlt -fdebug-info-for-profiling \
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
More information about the llvm-commits
mailing list