projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85dbb3f
)
[scudo] Disable the GetRssFromBuffer scudo test on PPC
author
Amy Kwan
<amy.kwan1@ibm.com>
Thu, 23 Feb 2023 17:46:37 +0000
(11:46 -0600)
committer
Amy Kwan
<amy.kwan1@ibm.com>
Thu, 23 Feb 2023 17:58:05 +0000
(11:58 -0600)
The GetRssFromBuffer scudo test case fails intermittently on Power, so this test
is disabled on the platform because of this.
compiler-rt/lib/scudo/standalone/tests/common_test.cpp
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/scudo/standalone/tests/common_test.cpp
b/compiler-rt/lib/scudo/standalone/tests/common_test.cpp
index
c53b6af
..
a322a01
100644
(file)
--- a/
compiler-rt/lib/scudo/standalone/tests/common_test.cpp
+++ b/
compiler-rt/lib/scudo/standalone/tests/common_test.cpp
@@
-69,7
+69,9
@@
TEST(ScudoCommonTest, Zeros) {
unmap(P, Size, 0, &Data);
}
-#if SCUDO_LINUX
+#if SCUDO_LINUX && !defined(__powerpc__)
+// This test fails intermediately on PPC, which is why this test is disabled
+// for now on this platform.
TEST(ScudoCommonTest, GetRssFromBuffer) {
constexpr int64_t AllocSize = 10000000;
constexpr int64_t Error = 3000000;