Skip to content

Commit da05802

Browse files
amy-kwantstellar
authored andcommitted
[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 0e3ef5f)
1 parent c8d5733 commit da05802

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compiler-rt/lib/scudo/standalone/tests/common_test.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ TEST(ScudoCommonTest, Zeros) {
6969
unmap(P, Size, 0, &Data);
7070
}
7171

72-
#if SCUDO_LINUX
72+
#if SCUDO_LINUX && !defined(__powerpc__)
73+
// This test fails intermediately on PPC, which is why this test is disabled
74+
// for now on this platform.
7375
TEST(ScudoCommonTest, GetRssFromBuffer) {
7476
constexpr int64_t AllocSize = 10000000;
7577
constexpr int64_t Error = 3000000;

0 commit comments

Comments
 (0)