diff options
author | Amy Kwan <amy.kwan1@ibm.com> | 2023-02-23 11:46:37 -0600 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2023-03-03 23:50:17 -0800 |
commit | da0580260e83e7354f82e0abdc5f4f65a6a2e6c1 (patch) | |
tree | b68b9d577dc36c7f3eeb28685f9d61d058e93ac8 | |
parent | c8d5733b81b7534b91c3602ad96053b4ba0b638b (diff) | |
download | llvm-da0580260e83e7354f82e0abdc5f4f65a6a2e6c1.tar.gz |
[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.
(cherry picked from commit 0e3ef5f89749a599c652c546214a8307e3495526)
-rw-r--r-- | compiler-rt/lib/scudo/standalone/tests/common_test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/lib/scudo/standalone/tests/common_test.cpp b/compiler-rt/lib/scudo/standalone/tests/common_test.cpp index c53b6af316d2..a322a01fb939 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; |