Alexandre Julliard : kernel32/tests: Make the toolhelp test less verbose by default.
Alexandre Julliard
julliard at winehq.org
Tue Jun 10 06:28:06 CDT 2008
Module: wine
Branch: master
Commit: a991afae9b49e3060d73fd3b8e250d8185ab6400
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a991afae9b49e3060d73fd3b8e250d8185ab6400
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jun 10 11:34:11 2008 +0200
kernel32/tests: Make the toolhelp test less verbose by default.
---
dlls/kernel32/tests/toolhelp.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel32/tests/toolhelp.c b/dlls/kernel32/tests/toolhelp.c
index 357f82d..eb7b424 100644
--- a/dlls/kernel32/tests/toolhelp.c
+++ b/dlls/kernel32/tests/toolhelp.c
@@ -170,7 +170,8 @@ static void test_thread(DWORD curr_pid, DWORD sub_pcs_pid)
{
if (te.th32OwnerProcessID == curr_pid) curr_found++;
if (te.th32OwnerProcessID == sub_pcs_pid) sub_found++;
- trace("PID=%x TID=%x %d\n", te.th32OwnerProcessID, te.th32ThreadID, te.tpBasePri);
+ if (winetest_debug > 1)
+ trace("PID=%x TID=%x %d\n", te.th32OwnerProcessID, te.th32ThreadID, te.tpBasePri);
num++;
} while (pThread32Next( hSnapshot, &te ));
}
@@ -186,7 +187,8 @@ static void test_thread(DWORD curr_pid, DWORD sub_pcs_pid)
{
if (te.th32OwnerProcessID == curr_pid) curr_found++;
if (te.th32OwnerProcessID == sub_pcs_pid) sub_found++;
- trace("PID=%x TID=%x %d\n", te.th32OwnerProcessID, te.th32ThreadID, te.tpBasePri);
+ if (winetest_debug > 1)
+ trace("PID=%x TID=%x %d\n", te.th32OwnerProcessID, te.th32ThreadID, te.tpBasePri);
num--;
} while (pThread32Next( hSnapshot, &te ));
}
More information about the wine-cvs
mailing list