[libcxx-commits] [PATCH] D130837: [libcxx] [test] Cover i386 & sparc64 in string.capacity test
Michał Górny via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Jul 31 04:07:55 PDT 2022
mgorny created this revision.
mgorny added reviewers: philnik, ldionne.
Herald added subscribers: fedor.sergeev, jyknight.
Herald added a project: All.
mgorny requested review of this revision.
https://github.com/llvm/llvm-project/issues/56831
https://reviews.llvm.org/D130837
Files:
libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp
Index: libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp
===================================================================
--- libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp
+++ libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp
@@ -64,7 +64,7 @@
#if _LIBCPP_ABI_VERSION == 1
-# if defined(__x86_64__)
+# if defined(__x86_64__) || defined(__i386__)
full_size();
# elif defined(__APPLE__) && defined(__aarch64__)
half_size();
@@ -74,7 +74,7 @@
# else
full_size();
# endif
-# elif defined(__powerpc__) || defined(__powerpc64__)
+# elif defined(__powerpc__) || defined(__powerpc64__) || defined(__sparc64__)
half_size();
# elif defined(_WIN32)
full_size();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130837.448851.patch
Type: text/x-patch
Size: 758 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220731/b63c016f/attachment.bin>
More information about the libcxx-commits
mailing list