From: Michael Ow Date: Wed, 8 Aug 2012 17:57:17 +0000 (+0000) Subject: ICU-9463 Skip test on Cygwin using GCC because of rounding issue X-Git-Tag: milestone-59-0-1~3685 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb5efa3a02cc2803fcf562a0428157f36258da64;p=icu ICU-9463 Skip test on Cygwin using GCC because of rounding issue X-SVN-Rev: 32122 --- diff --git a/icu4c/source/test/intltest/numfmtst.cpp b/icu4c/source/test/intltest/numfmtst.cpp index 19c7e665762..f0041ba87b5 100644 --- a/icu4c/source/test/intltest/numfmtst.cpp +++ b/icu4c/source/test/intltest/numfmtst.cpp @@ -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 }