From: Steven R. Loomis Date: Wed, 25 Oct 2017 22:11:18 +0000 (+0000) Subject: ICU-13415 disable std::move testing on AIX/z for now. X-Git-Tag: release-61-rc~200 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42a7565808e47a4a04b06a6566c6001d16e337e8;p=icu ICU-13415 disable std::move testing on AIX/z for now. X-SVN-Rev: 40641 --- diff --git a/icu4c/source/test/intltest/strcase.cpp b/icu4c/source/test/intltest/strcase.cpp index d9e46cf0b0b..83444bf3c90 100644 --- a/icu4c/source/test/intltest/strcase.cpp +++ b/icu4c/source/test/intltest/strcase.cpp @@ -1003,6 +1003,9 @@ void StringCaseTest::TestCopyMoveEdits() { assertEquals("b remains: many edits, length delta", 250, b.lengthDelta()); TestUtility::checkEqualEdits(*this, u"c = b", b, c, errorCode); + // std::move trouble on these platforms. + // See https://ssl.icu-project.org/trac/ticket/13393 +#if !UPRV_INCOMPLETE_CPP11_SUPPORT && !(U_PLATFORM == U_PF_AIX || U_PLATFORM == U_PF_OS390) // move constructor empties object with heap array Edits d(std::move(a)); assertEquals("d: move-constructed many edits, length delta", 250, d.lengthDelta()); @@ -1029,6 +1032,7 @@ void StringCaseTest::TestCopyMoveEdits() { assertSuccess("iter.next()", errorCode); assertTrue("iter.hasChange()", iter.hasChange()); assertEquals("iter.newLength()", 1, iter.newLength()); +#endif } void StringCaseTest::TestEditsFindFwdBwd() {