pdh: Skip tests when running on non-english locale.

This commit is contained in:
Hans Leidekker 2007-09-29 21:07:16 +02:00 committed by Alexandre Julliard
parent cf8b16bc9e
commit 290869b03d
1 changed files with 5 additions and 0 deletions

View File

@ -858,6 +858,11 @@ static void test_PdhCollectQueryDataEx(void)
START_TEST(pdh)
{
if (PRIMARYLANGID(LANGIDFROMLCID(GetThreadLocale())) != LANG_ENGLISH)
{
skip("non-english locale\n");
return;
}
init_function_ptrs();
test_PdhOpenQueryA();