Commit a991afae authored by Alexandre Julliard's avatar Alexandre Julliard

kernel32/tests: Make the toolhelp test less verbose by default.

parent e02fa190
...@@ -170,7 +170,8 @@ static void test_thread(DWORD curr_pid, DWORD sub_pcs_pid) ...@@ -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 == curr_pid) curr_found++;
if (te.th32OwnerProcessID == sub_pcs_pid) sub_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++; num++;
} while (pThread32Next( hSnapshot, &te )); } while (pThread32Next( hSnapshot, &te ));
} }
...@@ -186,7 +187,8 @@ static void test_thread(DWORD curr_pid, DWORD sub_pcs_pid) ...@@ -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 == curr_pid) curr_found++;
if (te.th32OwnerProcessID == sub_pcs_pid) sub_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--; num--;
} while (pThread32Next( hSnapshot, &te )); } while (pThread32Next( hSnapshot, &te ));
} }
......
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