Francois Gouget : tests: Trace the filename in winetest_wait_child_process().
Alexandre Julliard
julliard at winehq.org
Tue Oct 26 09:40:28 CDT 2021
Module: wine
Branch: stable
Commit: 0aabd08c53807008e47649d04bf43100d1b9d7e8
URL: https://source.winehq.org/git/wine.git/?a=commit;h=0aabd08c53807008e47649d04bf43100d1b9d7e8
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Fri Feb 12 17:11:49 2021 +0100
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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 092130e2aa53bce72c2a38cb90906c6c01c4867d)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
include/wine/test.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/wine/test.h b/include/wine/test.h
index 787fea0ba24..c10050012b6 100644
--- a/include/wine/test.h
+++ b/include/wine/test.h
@@ -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);
More information about the wine-cvs
mailing list