[PATCH] D83661: [llvm][unittests] Fix LLVM-Unit :: Support/./SupportTests/ProgramEnvTest.TestExecuteAndWaitStatistics on Solaris
Rainer Orth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 13 13:43:13 PDT 2020
ro updated this revision to Diff 277557.
ro added a comment.
Remove `ProcStat->PeakMemory` check: pointless now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83661/new/
https://reviews.llvm.org/D83661
Files:
llvm/unittests/Support/ProgramTest.cpp
Index: llvm/unittests/Support/ProgramTest.cpp
===================================================================
--- llvm/unittests/Support/ProgramTest.cpp
+++ llvm/unittests/Support/ProgramTest.cpp
@@ -357,7 +357,6 @@
&ExecutionFailed, &ProcStat);
ASSERT_EQ(0, RetCode);
ASSERT_TRUE(ProcStat);
- ASSERT_GT(ProcStat->PeakMemory, 0U);
ASSERT_GE(ProcStat->UserTime, std::chrono::microseconds(0));
ASSERT_GE(ProcStat->TotalTime, ProcStat->UserTime);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83661.277557.patch
Type: text/x-patch
Size: 496 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200713/5b7893d4/attachment.bin>
More information about the llvm-commits
mailing list