]> granicus.if.org Git - icu/commitdiff
ICU-10273 Investigate Sparc test failure.
authorAndy Heninger <andy.heninger@gmail.com>
Thu, 12 Sep 2013 17:16:52 +0000 (17:16 +0000)
committerAndy Heninger <andy.heninger@gmail.com>
Thu, 12 Sep 2013 17:16:52 +0000 (17:16 +0000)
X-SVN-Rev: 34286

icu4c/source/test/intltest/dcfmapts.cpp

index bdfce6b0575b3fb5ae07fd65613d19f8da05044c..d0b803e2b2bfe5b488855aae5b49cfe7575ab7b7 100644 (file)
@@ -783,7 +783,10 @@ void IntlTestDecimalFormatAPI::TestFixedDecimal() {
     ASSERT_EQUAL(0, fd.decimalDigitsWithoutTrailingZeros);
     // note: going through DigitList path to FixedDecimal, which is trimming
     //       int64_t fields to 18 digits. See ticket Ticket #10374
-    ASSERT_EQUAL(223372036854775807LL, fd.intValue);
+    // ASSERT_EQUAL(223372036854775807LL, fd.intValue);
+    if (!(fd.intValue == 223372036854775807LL || fd.intValue == 9223372036854775807LL)) {
+        errln("File %s, Line %d, fd.intValue = %lld", __FILE__, __LINE__, fd.intValue);
+    }
     ASSERT_EQUAL(TRUE, fd.hasIntegerValue);
     ASSERT_EQUAL(FALSE, fd.isNegative);