[Bug 48651] New: Fix handling of child test processes

WineHQ Bugzilla wine-bugs at winehq.org
Sun Feb 23 08:49:14 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=48651

            Bug ID: 48651
           Summary: Fix handling of child test processes
           Product: Wine-Testbot
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: unknown
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com
      Distribution: ---

Wine's test.h provides a winetest_wait_child_process() function to wait for
child processes. But when an error happens it issues some messages which the
TestBot does not recognize.

* If waiting for the child process fails the error message does not look like a
'Test failed' error message which it should to simplify things.

* But winetest_wait_child_process() does not know on which line it was called
so calling winetest_ok() would not provide the right line number.

* The failure to wait for the child process should also distinguish between
CreateProcess() errors (usually those are already reported by the caller),
timeouts and other errors.

* The Testbot does not recognize the 'child process crashed' message. This
causes it to find mismatches between the number of 'Test failed' messages and
the final summary.

* The TestBot also does not recognize the 'failures in child process' summary
line but that probably does not matter.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list