tests: Trace the filename in winetest_wait_child_process().

We want the filename next to the line number, just like in every other
trace.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2021-02-12 17:11:49 +01:00 committed by Alexandre Julliard
parent fc3deb6cd8
commit 092130e2aa
1 changed files with 2 additions and 2 deletions

View File

@ -507,14 +507,14 @@ void winetest_wait_child_process( HANDLE process )
{
DWORD pid = GetProcessId( process );
printf( "%s:%d:%s unhandled exception %08x in child process %04x\n",
current_test->name, data->current_line, winetest_elapsed(),
data->current_file, data->current_line, winetest_elapsed(),
exit_code, pid );
InterlockedIncrement( &failures );
}
else if (exit_code)
{
printf( "%s:%d:%s %u failures in child process\n",
current_test->name, data->current_line, winetest_elapsed(),
data->current_file, data->current_line, winetest_elapsed(),
exit_code );
while (exit_code-- > 0)
InterlockedIncrement(&failures);