https://bugs.winehq.org/show_bug.cgi?id=17063
--- Comment #6 from François Gouget fgouget@codeweavers.com --- Another approach has been taken: printing the pid on the test summary lines. See the commits below.
The TestBot has support for using the pids and test.winehq will too soon. What remains to be done is either updating TestLauncher.exe (used by the TestBot) or replacing it with WineTest.exe somehow.
commit 873eace6e496a154f333426aeb2b3e0ad79ba44d Author: Francois Gouget fgouget@codeweavers.com Date: Wed Feb 22 15:33:21 2017 +0100
wine/test.h: Identify the process responsible for test summary lines.
Currently the child process summary lines are indistinguishable from the main process one. This makes it impossible to automatically detect when a process exits abruptly, i.e. without printing a summary line, if it has run a subprocess.
This will let analysis tools identify which summary lines correspond to processes they started and thus when some are missing. Note also that in case of a crash the 'unhandled exception' play the same role as the test summary lines. Thus it is important to also tag them with the pid of the source process.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
commit 873eace6e496a154f333426aeb2b3e0ad79ba44d Author: Francois Gouget fgouget@codeweavers.com Date: Wed Feb 22 15:33:21 2017 +0100
wine/test.h: Identify the process responsible for test summary lines.
Currently the child process summary lines are indistinguishable from the main process one. This makes it impossible to automatically detect when a process exits abruptly, i.e. without printing a summary line, if it has run a subprocess.
This will let analysis tools identify which summary lines correspond to processes they started and thus when some are missing. Note also that in case of a crash the 'unhandled exception' play the same role as the test summary lines. Thus it is important to also tag them with the pid of the source process.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org