Francois Gouget : testbot/TestLauncher: Print the process pid on the 'done ' lines.

Alexandre Julliard julliard at winehq.org
Mon Jun 26 11:45:35 CDT 2017


Module: tools
Branch: master
Commit: e8249b696d96edd61010d4971db282bb65d0a313
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=e8249b696d96edd61010d4971db282bb65d0a313

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Jun 21 16:27:02 2017 +0200

testbot/TestLauncher: Print the process pid on the 'done' lines.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/src/TestLauncher/TestLauncher.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/testbot/src/TestLauncher/TestLauncher.c b/testbot/src/TestLauncher/TestLauncher.c
index 9a7dce2..fb48484 100644
--- a/testbot/src/TestLauncher/TestLauncher.c
+++ b/testbot/src/TestLauncher/TestLauncher.c
@@ -380,8 +380,8 @@ int main(int argc, char *argv[])
 
    if (! AllImportedDllsPresent(TestExeFullName, Subtest))
    {
-      printf("%s: %u tests executed (0 marked as todo, %u failures), %u skipped.\n", Subtest, Failures, Failures, Skips);
-      printf("%s:%s done (%u) in %lds\n", TestName, Subtest, Failures,
+      printf("0000:%s: %u tests executed (0 marked as todo, %u failures), %u skipped.\n", Subtest, Failures, Failures, Skips);
+      printf("%s:%s:0000 done (%u) in %lds\n", TestName, Subtest, Failures,
              (GetTickCount() - Start) / 1000);
       exit(0);
    }
@@ -451,7 +451,8 @@ int main(int argc, char *argv[])
    }
    CloseHandle(ProcessInformation.hProcess);
 
-   printf("%s:%s done (%lu) in %lds\n", TestName, Subtest, ExitCode,
+   printf("%s:%s:%04lx done (%lu) in %lds\n", TestName, Subtest,
+          ProcessInformation.dwProcessId, ExitCode,
           (GetTickCount() - Start) / 1000);
 
    return 0;




More information about the wine-cvs mailing list