[compiler-rt] 0e3ef5f - [scudo] Disable the GetRssFromBuffer scudo test on PPC
Amy Kwan via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 23 09:58:21 PST 2023
Author: Amy Kwan
Date: 2023-02-23T11:58:05-06:00
New Revision: 0e3ef5f89749a599c652c546214a8307e3495526
URL: https://github.com/llvm/llvm-project/commit/0e3ef5f89749a599c652c546214a8307e3495526
DIFF: https://github.com/llvm/llvm-project/commit/0e3ef5f89749a599c652c546214a8307e3495526.diff
LOG: [scudo] Disable the GetRssFromBuffer scudo test on PPC
The GetRssFromBuffer scudo test case fails intermittently on Power, so this test
is disabled on the platform because of this.
Added:
Modified:
compiler-rt/lib/scudo/standalone/tests/common_test.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/scudo/standalone/tests/common_test.cpp b/compiler-rt/lib/scudo/standalone/tests/common_test.cpp
index c53b6af316d2c..a322a01fb9391 100644
--- 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;
More information about the llvm-commits
mailing list