]> granicus.if.org Git - icu/commitdiff
ICU-9463 Skip test on Cygwin using GCC because of rounding issue
authorMichael Ow <mow@svn.icu-project.org>
Wed, 8 Aug 2012 17:57:17 +0000 (17:57 +0000)
committerMichael Ow <mow@svn.icu-project.org>
Wed, 8 Aug 2012 17:57:17 +0000 (17:57 +0000)
X-SVN-Rev: 32122

icu4c/source/test/intltest/numfmtst.cpp

index 19c7e6657628863f4a7d37505016e331b7d42af6..f0041ba87b54eb9fb33e25cdf871ed0b047b8902 100644 (file)
@@ -6378,6 +6378,11 @@ void NumberFormatTest::TestDecimal() {
         }
     }
     
+#if U_PLATFORM != U_PF_CYGWIN || defined(CYGWINMSVC)
+    /*
+     * This test fails on Cygwin (1.7.16) using GCC because of a rounding issue with strtod().
+     * See #9463
+     */
     {
         // Check that a parse returns a decimal number with full accuracy
         UErrorCode status = U_ZERO_ERROR;
@@ -6395,6 +6400,7 @@ void NumberFormatTest::TestDecimal() {
             delete fmtr;
         }
     }
+#endif
 
 }