kernel32/tests: Silence some loader and locale traces that generate too many lines.

This commit is contained in:
Francois Gouget 2015-05-08 17:46:30 +02:00 committed by Alexandre Julliard
parent 0f3de20ba0
commit 5ea2bdda5d
2 changed files with 11 additions and 6 deletions

View File

@ -1411,6 +1411,7 @@ static DWORD WINAPI semaphore_thread_proc(void *param)
while (1) while (1)
{ {
if (winetest_debug > 1)
trace("%04u: semaphore_thread_proc: still alive\n", GetCurrentThreadId()); trace("%04u: semaphore_thread_proc: still alive\n", GetCurrentThreadId());
if (WaitForSingleObject(stop_event, 50) != WAIT_TIMEOUT) break; if (WaitForSingleObject(stop_event, 50) != WAIT_TIMEOUT) break;
} }

View File

@ -3137,6 +3137,7 @@ static void test_ConvertDefaultLocale(void)
static BOOL CALLBACK langgrp_procA(LGRPID lgrpid, LPSTR lpszNum, LPSTR lpszName, static BOOL CALLBACK langgrp_procA(LGRPID lgrpid, LPSTR lpszNum, LPSTR lpszName,
DWORD dwFlags, LONG_PTR lParam) DWORD dwFlags, LONG_PTR lParam)
{ {
if (winetest_debug > 1)
trace("%08x, %s, %s, %08x, %08lx\n", trace("%08x, %s, %s, %08x, %08lx\n",
lgrpid, lpszNum, lpszName, dwFlags, lParam); lgrpid, lpszNum, lpszName, dwFlags, lParam);
@ -3187,6 +3188,7 @@ static void test_EnumSystemLanguageGroupsA(void)
static BOOL CALLBACK enum_func( LPWSTR name, DWORD flags, LPARAM lparam ) static BOOL CALLBACK enum_func( LPWSTR name, DWORD flags, LPARAM lparam )
{ {
if (winetest_debug > 1)
trace( "%s %x\n", wine_dbgstr_w(name), flags ); trace( "%s %x\n", wine_dbgstr_w(name), flags );
return TRUE; return TRUE;
} }
@ -3212,6 +3214,7 @@ static void test_EnumSystemLocalesEx(void)
static BOOL CALLBACK lgrplocale_procA(LGRPID lgrpid, LCID lcid, LPSTR lpszNum, static BOOL CALLBACK lgrplocale_procA(LGRPID lgrpid, LCID lcid, LPSTR lpszNum,
LONG_PTR lParam) LONG_PTR lParam)
{ {
if (winetest_debug > 1)
trace("%08x, %08x, %s, %08lx\n", lgrpid, lcid, lpszNum, lParam); trace("%08x, %08x, %s, %08lx\n", lgrpid, lcid, lpszNum, lParam);
/* invalid locale enumerated on some platforms */ /* invalid locale enumerated on some platforms */
@ -3293,6 +3296,7 @@ static void test_SetLocaleInfoA(void)
static BOOL CALLBACK luilocale_proc1A(LPSTR value, LONG_PTR lParam) static BOOL CALLBACK luilocale_proc1A(LPSTR value, LONG_PTR lParam)
{ {
if (winetest_debug > 1)
trace("%s %08lx\n", value, lParam); trace("%s %08lx\n", value, lParam);
return(TRUE); return(TRUE);
} }