Commit 03d637a3 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

oleaut32/tests: Use skip.

parent 20291e08
...@@ -83,7 +83,7 @@ static void test_VarFormatNumber(void) ...@@ -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) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment