Skip to content

Commit 8fe5ac8

Browse files
[Test][Darwin] Disable test on watchos due to memory restraints (#135671)
Because of the nature of this test (mmap stress-test) it tests too large of memory allocations to be stable on watchos. WatchOS has memory limits that can lead to the termination of this process before it reaches the limit set by the flag. Typical only on devices that are under heavy load. disable on watchOS. rdar://147222346
1 parent 1593262 commit 8fe5ac8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler-rt/test/asan/TestCases/Posix/mmap_limit_mb.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// Test the mmap_limit_mb flag.
22
//
3+
// Unstable on watchOS devices under memory pressure.
4+
// UNSUPPORTED: watchos
5+
//
36
// RUN: %clangxx_asan -O2 %s -o %t
47
// RUN: %run %t 20 16
58
// RUN: %run %t 30 1000000

0 commit comments

Comments
 (0)