[Tools 2/3] testbot/TestLauncher: Print the process pid on the 'done' lines.

Francois Gouget fgouget at codeweavers.com
Wed Jun 21 09:27:02 CDT 2017


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 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 9a7dce22..fb48484c 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;
-- 
2.11.0




More information about the wine-patches mailing list