[compiler-rt] 8fe5ac8 - [Test][Darwin] Disable test on watchos due to memory restraints (#135671)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 14 16:43:52 PDT 2025
Author: thetruestblue
Date: 2025-04-14T16:43:49-07:00
New Revision: 8fe5ac896f049020c739769c5186b472c639fd30
URL: https://github.com/llvm/llvm-project/commit/8fe5ac896f049020c739769c5186b472c639fd30
DIFF: https://github.com/llvm/llvm-project/commit/8fe5ac896f049020c739769c5186b472c639fd30.diff
LOG: [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
Added:
Modified:
compiler-rt/test/asan/TestCases/Posix/mmap_limit_mb.cpp
Removed:
################################################################################
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..2af572c9e645f 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,8 @@
// Test the mmap_limit_mb flag.
//
+// Unstable on watchOS devices under memory pressure.
+// UNSUPPORTED: watchos
+//
// RUN: %clangxx_asan -O2 %s -o %t
// RUN: %run %t 20 16
// RUN: %run %t 30 1000000
More information about the llvm-commits
mailing list