[compiler-rt] [Test][Darwin] Disable test on watchos due to memory restraints (PR #135671)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 14 13:31:54 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: None (thetruestblue)
<details>
<summary>Changes</summary>
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. It is guaranteed to occur if a test device is under heavy load. disable on watchOS.
rdar://147222346
---
Full diff: https://github.com/llvm/llvm-project/pull/135671.diff
1 Files Affected:
- (modified) compiler-rt/test/asan/TestCases/Posix/mmap_limit_mb.cpp (+4)
``````````diff
diff --git a/compiler-rt/test/asan/TestCases/Posix/mmap_limit_mb.cpp b/compiler-rt/test/asan/TestCases/Posix/mmap_limit_mb.cpp
index 87ac5b2925ed0..ed187e4481a4f 100644
--- a/compiler-rt/test/asan/TestCases/Posix/mmap_limit_mb.cpp
+++ b/compiler-rt/test/asan/TestCases/Posix/mmap_limit_mb.cpp
@@ -1,5 +1,9 @@
// Test the mmap_limit_mb flag.
//
+// stress-test isn't reliable on watchOS due to space limitations
+// UNSUPPORTED: watchos
+//
+//
// RUN: %clangxx_asan -O2 %s -o %t
// RUN: %run %t 20 16
// RUN: %run %t 30 1000000
``````````
</details>
https://github.com/llvm/llvm-project/pull/135671
More information about the llvm-commits
mailing list