Skip to content

Commit 17aaa2d

Browse files
committed
ICU-23120 Mask UnicodeStringTest::TestLargeMemory on 32-bit platforms
1 parent 6ccd8ad commit 17aaa2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

icu4c/source/test/intltest/ustrtest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2375,7 +2375,7 @@ void UnicodeStringTest::TestUnicodeStringInsertAppendToSelf() {
23752375
}
23762376

23772377
void UnicodeStringTest::TestLargeMemory() {
2378-
#if U_PLATFORM_IS_LINUX_BASED || U_PLATFORM_IS_DARWIN_BASED
2378+
#if (U_PLATFORM_IS_LINUX_BASED || U_PLATFORM_IS_DARWIN_BASED) && (UINTPTR_MAX == 0xFFFFFFFFFFFFFFFF)
23792379
if(quick) { return; }
23802380
IcuTestErrorCode status(*this, "TestLargeMemory");
23812381
constexpr uint32_t len = 2147483643;

0 commit comments

Comments
 (0)