Francois Gouget : tests: Trace the filename in winetest_wait_child_process().

Alexandre Julliard julliard at winehq.org
Mon Feb 15 16:09:51 CST 2021


Module: wine
Branch: master
Commit: 092130e2aa53bce72c2a38cb90906c6c01c4867d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=092130e2aa53bce72c2a38cb90906c6c01c4867d

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>

---

 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