[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 06:54:31 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG09cf95bd3ec2: [libcxx] [test] Cover i386 & sparc64 in string.capacity test (authored by mgorny).
Herald added a project: libc++.
Herald added a reviewer: libc++.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130837/new/

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.448855.patch
Type: text/x-patch
Size: 758 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220731/26f3d8ce/attachment.bin>


More information about the libcxx-commits mailing list