[libcxx-commits] [PATCH] D139502: [libc++][Android] Disable pbump2gig for Android
Ryan Prichard via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Dec 7 10:26:00 PST 2022
rprichard updated this revision to Diff 480967.
rprichard added a comment.
No change.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139502/new/
https://reviews.llvm.org/D139502
Files:
libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/pbump2gig.pass.cpp
Index: libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/pbump2gig.pass.cpp
===================================================================
--- libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/pbump2gig.pass.cpp
+++ libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/pbump2gig.pass.cpp
@@ -21,6 +21,11 @@
// allocation failure when attempting to allocate the 2GiB string.
// UNSUPPORTED: no-exceptions
+// Android devices frequently don't have enough memory to run this test. Rather
+// than throw std::bad_alloc, exhausting memory tends to trigger the OOM Killer
+// and/or crash the device (killing adb, rebooting it, etc).
+// UNSUPPORTED: android
+
#include <sstream>
#include <cassert>
#include "test_macros.h"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139502.480967.patch
Type: text/x-patch
Size: 856 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221207/4bdf7095/attachment-0001.bin>
More information about the libcxx-commits
mailing list