oleaut32/tests: Use skip.
This commit is contained in:
parent
20291e082c
commit
03d637a305
|
@ -83,7 +83,7 @@ static void test_VarFormatNumber(void)
|
||||||
GetLocaleInfoA(LOCALE_USER_DEFAULT, LOCALE_SDECIMAL, buff, sizeof(buff)/sizeof(char));
|
GetLocaleInfoA(LOCALE_USER_DEFAULT, LOCALE_SDECIMAL, buff, sizeof(buff)/sizeof(char));
|
||||||
if (buff[0] != '.' || buff[1])
|
if (buff[0] != '.' || buff[1])
|
||||||
{
|
{
|
||||||
trace("Skipping VarFormatNumber tests as decimal separator is '%s'\n", buff);
|
skip("Skipping VarFormatNumber tests as decimal separator is '%s'\n", buff);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -241,19 +241,19 @@ static void test_VarFormat(void)
|
||||||
|
|
||||||
if (PRIMARYLANGID(LANGIDFROMLCID(GetUserDefaultLCID())) != LANG_ENGLISH)
|
if (PRIMARYLANGID(LANGIDFROMLCID(GetUserDefaultLCID())) != LANG_ENGLISH)
|
||||||
{
|
{
|
||||||
trace("Skipping VarFormat tests for non english language\n");
|
skip("Skipping VarFormat tests for non english language\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
GetLocaleInfoA(LOCALE_USER_DEFAULT, LOCALE_SDECIMAL, buff, sizeof(buff)/sizeof(char));
|
GetLocaleInfoA(LOCALE_USER_DEFAULT, LOCALE_SDECIMAL, buff, sizeof(buff)/sizeof(char));
|
||||||
if (buff[0] != '.' || buff[1])
|
if (buff[0] != '.' || buff[1])
|
||||||
{
|
{
|
||||||
trace("Skipping VarFormat tests as decimal separator is '%s'\n", buff);
|
skip("Skipping VarFormat tests as decimal separator is '%s'\n", buff);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
GetLocaleInfoA(LOCALE_USER_DEFAULT, LOCALE_IDIGITS, buff, sizeof(buff)/sizeof(char));
|
GetLocaleInfoA(LOCALE_USER_DEFAULT, LOCALE_IDIGITS, buff, sizeof(buff)/sizeof(char));
|
||||||
if (buff[0] != '2' || buff[1])
|
if (buff[0] != '2' || buff[1])
|
||||||
{
|
{
|
||||||
trace("Skipping VarFormat tests as decimal places is '%s'\n", buff);
|
skip("Skipping VarFormat tests as decimal places is '%s'\n", buff);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue