Skip a TWLocale test on Cygwin since it doesn't like the 'C' locale
This commit is contained in:
parent
b648b2493f
commit
e7b00507e9
|
@ -89,6 +89,7 @@ void TestAtoi()
|
||||||
|
|
||||||
void TestItoa()
|
void TestItoa()
|
||||||
{
|
{
|
||||||
|
#if !IS_CYGWIN
|
||||||
//
|
//
|
||||||
// can't do ASSERT( str == _T("123456") )
|
// can't do ASSERT( str == _T("123456") )
|
||||||
// because locale may turn it into "123,465" or whatever
|
// because locale may turn it into "123,465" or whatever
|
||||||
|
@ -120,6 +121,9 @@ void TestItoa()
|
||||||
std::locale::global( std::locale("") );
|
std::locale::global( std::locale("") );
|
||||||
cTWLocale::FormatNumber( n, str );
|
cTWLocale::FormatNumber( n, str );
|
||||||
TEST( str == "123,456" );
|
TEST( str == "123,456" );
|
||||||
|
#else
|
||||||
|
skip("Test disabled because Cygwin doesn't like the 'C' locale for some reason");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We don't do atoi stuff in cTWLocale anymore, so no roundtrip
|
/* We don't do atoi stuff in cTWLocale anymore, so no roundtrip
|
||||||
|
|
Loading…
Reference in New Issue